Pluronic F-127 hydrogels are highly efficient microenvironments for photochemical reactions, as demonstrated for singlet oxygen reactions of monoalkenes. Nonpolar substrates are localized in the nanosized polymer compartment, which can be visualized by neutron scattering. The efficiency of (1)O(2) reactions is strongly increased for tiglate derivatives and the regioselectivity of the ene reaction of trisubstituted alkenes is completely switched in comparison with solution phase and inverted in comparison with intrazeolite photo-oxygenations.