To expand on the limited number of examples that exist in the literature for the solid-state photodenitrogenation of azoalkanes, a series of crystalline 7-alkyl-2,3,7-triazabicyclo[3.3.0]oct-2-ene-6,8-diones with varying 4,4-substituents were prepared. Their photochemical behavior in solution and in the solid state was dependent on the 4,4-substitution of the 1-pyrazoline ring, with unsubstituted pyrazoline giving a mixture of products both in solution and in the solid state. Diphenyl substituted pyrazolines denitrogenate spontaneously in solution but require light exposure to react quantitatively in the solid state. t-Butyl-phenyl substituted pyrazolines were shown to denitrogenate both chemo- and diastereoselectively in solution and in the solid state to yield a single product in quantitative yield.