Fumaratotriazoline (1) and amidotriazoline (3) undergo thermal first-order transformations in solution at 65 °C. The former affords the isomeric pyrrole 5 and its hydrolysis product 6. A mechanism involving opening of the initial five-membered ring to form 8, followed by closure to a new five-membered ring (9), is proposed. Amidotriazoline (3) loses N2 on heating to form 19. The experimental results are best accommodated in terms of a novel mechanism involving an electrocyclic ring closure, a [3 + 2] cycloreversion to form an ylide, a sigmatropic rearrangement of the ylide, and, finally, an electrocyclic ring-opening reaction.