An efficient protocol for the synthesis of dihydrobenzoxazine and tetrahydrobenzoxazepine derivatives has been developed using haloarenes involving N-dealkylative SNAr reaction. The method employs a wide variety of substrates and features the formation of C[sbnd]O and C[sbnd]N bonds in one-pot fashion. The products thus generated have been further transformed to m-terphenyls by using Suzuki coupling reaction. © 2017 Elsevier Ltd