Herein, we report a new method for the synthesis of functionalized pyrrole and isoquinoline derivatives using isoxazole based precursors. The reaction proceeds through the ring opening and ring closing cascade mechanism (ROCC) to afford pyrrole or isoquinoline derivatives in good to excellent yields under very mild experimental conditions. Product outcome relies on the strategic placement of different substituents on the isoxazole moiety. The present method is also applicable to synthesize functionalized isoquinolone derivatives.