This document describes a novel protocol for the construction of 3-spiropyrrolidines and 3-spiropyrrolizidines using Baylis-Hillman adducts derived from nitroolefins via 1,3-dipolar cycloaddition reaction. Specifically, it details the successful synthesis of compound 3, a 3-spiropyrrolidine, from the Baylis-Hillman adduct 2 treated with isatin and N-methyl glycine. The compound was characterized through various analytical techniques and obtained in 62% yield. This reaction demonstrates the utility of Baylis-Hillman adducts from nitroolefins in azomethine ylide-based cycloaddition to form nitrogen-containing