We present a detailed CASSCF study of the mechanism of excited-state intramolecular proton transfer (ESIPT) in the o-hydroxyphenyl triazine class of photostabilizers. The valence-bond analysis of the ground state and the two pipi* excited states permits a simple chemical interpretation of the mechanistic information. Our results show that the barrier to enol-keto tautomerism on the ground-state adiabatic surface is high. Following photoexcitation to the charge-transfer state, the ESIPT is predicted to take place without a barrier. Radiationless decay to the ground state is associated with an extended seam of conical intersection, with a sloped topology lying parallel to the ESIPT path, which can be accessed at any point along the reaction path. Our results show that the triazine class of photostabilizers has the photochemical and photophysical qualities associated with exceptional photostability.