A general method for the synthesis of terpenoid carbazole alkaloids of Murraya koenigii Spreng., as exemplified by mahanimbine, is reported.