The compound, diethyl 1-((4-methyl-2-phenyl-4,5-dihydrooxazol-4-yl)methyl)-1H-1,2,3-triazole-4,5-dicarboxylate 2, was synthesized in high yield, through 1,3-dipolar cycloaddition reaction of 4-(azidomethyl)-4-methyl-2-phenyl-4,5-dihydrooxazole and diethyl but-2-ynedioate in the absence of a solvent. The structure of the synthesized compound was established on the basis of NMR spectroscopy ( 1 H, 13 C), X-ray crystallography, and MS data. The prepared compound was also tested in vitro for its antibacterial activity against Gram-positive bacteria (Staphylococcus aureus) and Gram-negative bacteria (Escherichia coli). The calculation of MBC/MIC ratio showed that this triazole derivative 2 had a bactericidal effect on the two strains tested.