Metal-free cascade cyclization of 2-acylbenzoic acids with amines provided a one-pot synthesis of diverse isoindoloisoquinoline and benzoindolizinoindole derivatives, which were subsequently used to produce nitrogen-containing nine-membered ring compounds.