The three-component reactions of substituted pyridines, dimethyl acetylenedicarboxylates, and 3-phenacylideneoxindoles afforded spiro[indoline-3,1-quinolizines] in high yields and with high diastereoselectivity. The Diels–Alder reactions of spiro[indoline-3,1-quinolizines] with maleic anhydride and -phenyl maleimides successfully resulted in polyfunctionalized isoquinolinuclidine derivatives. The similar three-component reactions with quinoline resulted in the novel spiro[indoline-3,4-pyrido[1,2-a]quinolines] in moderate to good yields.Graphical AbstractElectronic supplementary materialThe online version of this article (doi:10.1007/s11030-013-9459-5) contains supplementary material, which is available to authorized users.