Among heterocyclic scaffolds, bicyclic heterocycles having non-aromatic nitrogen, i.e., phthalimidcs have a wide range of applications particularly of biological interest and can be used as key intermediates in the preparation of bioactive compounds. Using dehydrative condensation N-substituted phthalimides were prepared using phthalic anhydride with primary aromatic amines at 110 degrees C. Phthalic anhydride itself was prepared by heating phthalic acid at 180 degrees C. Purity of the prepared compounds was checked by thin-layer chromatography and physical data (yield, melting point, R-f, state, and color) of synthesized compounds were determined. Characterization of all the synthesized compounds was done by spectral data infrared, Nuclear magnetic resonance (H-1-NMR), C-13-NMR, mass spectrometry, and CHN analysis. These were screened for antimicrobial activity against two different microorganisms, namely Pseudomonas spp. and Klebsiella spp. and were found to exhibit moderate to good antibacterial activity. Among the synthesized N-substituted phthalimides, compounds having thiazole moiety were most effective than other compounds against Klebsiella spp. and Pseudomonas spp. and all compounds did not show activity at 100 mg/ml. Replacement of oxygen atom with nitrogen atom enhanced the activity in compounds (2-9). All synthesized N-substituted phthilamides exhibited less activity than standard ampicillin among all the tested concentrations. [GRAPHICS] .