The catalytic annulation of methylenecyclopropane 1 with 1,1-dicyanoalkenes 2 using a Mg-Sn catalytic system was developed. Selective formation of cyclopentylidenemalonates 3 and spiro[2,3]hexane-1,1-dicarboxylates 4 was accomplished via the choice of a proper solvent and an effective catalytic system.