Photocyclization of N-methyldiphenylamine to N-methylcarbazole is achieved within the microenvironment provided by site I of serum albumins. Quantum yield determinations, combined with transient absorption spectroscopic detection of the dihydrocarbazole intermediate, demonstrate that protein encapsulation provides a subtle control of the kinetic parameters, leading to optimized efficiencies.