In this study, copolymers were synthesized using methyl methacrylate (MMA) and 2-allyloxymethyl-1-methylimidazole (AOMMI) monomers at various ratios. For this purpose, hydroxyl end-functionalized imidazole was initially prepared with 1-methylimidazole and then it was used to prepare allyl-derived imidazole monomers. Finally, the synthesis of copolymers (poly(MMA-co-AOMMI)) was carried out using different proportions of commercial MMA and AOMMI monomers. Photopolymerization method was preferred as polymerization technique. The polymerization was carried out in solvent-free medium and benzophenone was used as the initiator. Fourier transform infrared spectroscopy (FTIR), nuclear magnetic resonance spectroscopy (H-1 NMR and C-13 NMR) and elemental analysis were used for the structural characterization of the obtained copolymers. Molecular weights and the thermal behaviour of the synthesized copolymers were analysed with gel permeation chromatography (GPC) and thermogravimetry (TG) techniques, respectively. The surface of the products was tried to be illuminated using scanning electron microscopy (SEM). According to the obtained FTIR, NMR and elemental analysis results, the copolymers were successfully synthesized. A number average molecular weights of poly(MMA-co-AOMMI) samples were found 13,500 (MMA:2/AOMMI:1), 16,600 (MMA:1/AOMMI:2) and 17,300 (MMA:1/AOMMI:1) according to the mixing ratios. When the thermal stabilities of the synthesized copolymers were observed, it has been seen that those containing imidazole had higher stability than the neat PMMA.