Irradiation of 6-(2-azidophenylthio)uracils (2) with a high-pressure mercury arc lamp resulted in the almost exclusive formation of dihydro-10-thiaisoalloxazines (3), while thermolysis of (2) gave a mixture of (3) and dihydro-5-thiaisoalloxazine (4).