The ab initio/Rice-Ramsperger-Kassel-Marcus (RRKM) approach has been applied to investigate the photodissociation mechanism of 1,3,5-triazine at different wavelengths of the absorbed photon. Reaction pathways leading to various decomposition products have been mapped out at the G3(MP2,CC)//B3LYP level, and then the RRKM and microcanonical variational transition state theories have been applied to compute rate constants for individual reaction steps. Relative product yields (branching ratios) for the dissociation products have been calculated using the steady-state approach. The results show that, after being excited by 275, 248, or 193 nm photons, the triazine molecule isomerizes to an opened-ring structure on the first singlet excited-state potential energy surface (PES), which is followed by relaxation into the ground electronic state via internal conversion. On the contrary, excitation by 285 and 295 nm photons cannot initiate the ring-opening reaction on the excited-state PES, and the molecule relaxes into the energized ring isomer in the ground electronic state. The dissociation reaction starting from the ring isomer is calculated to have branching ratios of various reaction channels significantly different from those for the reaction initiating from the opened-ring structure. The existence of two distinct mechanisms of 1,3,5-triazine photodissociation can explain the inconsistency in the translational energy distributions of HCN moieties at different wavelengths observed experimentally.