in Wiley Online Library (wileyonlinelibrary.com).The present work describes the synthesis of some heterocyclic compounds based pyrazole, triazole, pyrimidine, and pyridine derivatives. The synthesis of these heterocycles have been carried out by the reaction of ethyl-3-(octadecylamino)-3-oxopropanoate (2) with various reagents under suitable reaction conditions. Propoxylation of these heterocycles by using a number of propylene oxide moles afforded nonionic surface active agents, incorporating long alkyl chain having suitable molecular weight to obtain amphiphilic materials with hydrophilic-lipophilic equilibrium, which enhances solubility and biodegradability, hence lowers the toxicity to human beings, and becomes environmentally friendly. A series of useful properties such as surface and interfacial tensions, cloud point, wetting time, foam height, emulsion stability, critical micelle concentration (CMC), surface tension at the CMC (γ CMC ), efficiency (PC 20 ), effectiveness (π CMC ), surface excess (Γ max ), and surface area (A min ) have been estimated. In addition, the antimicrobial activities of these compounds were screened.