A series of novel indole derivatives bearing pyrimidine and cyclic imide scaffolds such as phthalic and maleic anhydrides has been designed and synthesized using both conventional and microwave irradiation (MW) methods under solvent free conditions. The title compounds have been developed by the reaction of 2-aminoo-4-hydroxy-6-(5,1-substituted-indol-3-yl) pyrimidine-5-carbonitrile with phthalic and maleic anhydrides individually using MW method. In addition, these target compounds were also synthesised under conventional heating method. A considerable increase in the reaction rate has been observed with better yields (90-92%) within 2-6 min using microwave irradiation in comparison to conventional thermal treatment.