Zeolite activity and selectivity is often determined by the underlying proton and hydrogen-transfer reaction pathways. For the first time, we use single-molecule fluorescence microscopy to directly follow the real-time behavior of individual styrene-derived carbocationic species formed within zeolite ZSM-5. We find that intermittent fluorescence and remarkable photostability of carbocationic intermediates strongly depend on the local chemical environment imposed by zeolite framework and guest solvent molecules. The carbocationic stability can be additionally altered by changing para-substituent on the styrene moiety, as suggested by DFT calculations. Thermodynamically unstable carbocations are more likely to switch between fluorescent (carb...