Conjugated azomethine ylides are capable of [1,5]- and [1,7]-electrocyclizations. An example of a [1,7]-electrocyclization of a  azomethine ylide is shown below. This conrotatory ring-closing is followed by a suprafacial [1,5]-hydride shift, which affords the rearomatized product. The sterics and geometry of the reacting phenyl ring play a major role in the success of the reaction.
The compounds resulting from this type of electrocyclization have been used as dienes in Diels–Alder reactions to attach compounds to fullerenes.