There are several methods for the preparation of pyrrolidine‐2,5‐dione analogs, however, some protocols use some reagents which require special conditions such as different pH or higher‐temperatures. The aim of this investigation was to prepare some pyrrolidine‐2,5‐dione derivatives (compounds 4 to 8) from N‐hydroxysuccinimide using some chemical tools to evaluate their biological activity against some bacteria strains. Chemical structure was confirmed with both 1H and 13C NMR spectroscopic techniques. Besides, the effects produced by 4 to 8 on both Gram‐negative and Gram‐positive bacteria was evaluated using minimum inhibitory concentration method. The results indicate that protocols used for synthesis of pyrrolidine‐2,5‐dione analogs do not require special conditions. Other data displayed those compounds 6 to 8 decreased the growth Gram‐negative bacteria compared with 4 and 5. In conclusion, this research is reported a facile method for the synthesis of pyrrolidine‐2,5‐dione derivatives which could be good candidates as antibacterial compounds.