In this study, a comprehensive analysis of the CMA2OEM-co-DVB-co-AMPS (2-(bis(cyanomethyl)amino)-2-oxoethyl methacrylate-co-divinylbenzene-co-2-acrylamido-2-methyl-1-propanesulfonic acid) and CMA2OEM-co-DVB-co-VIM (2-(bis(cyanomethyl)amino)-2-oxoethyl methacrylate-co-divinylbenzene-co-vinylimidazole) terpolymers was conducted. The structural and chemical properties of the terpolymers were examined using Fourier transform infrared (FT-IR) spectroscopy, frontier molecular orbital analysis, molecular electrostatic potential (MEP) maps, H, and C NMR spectroscopy, thermochemistry surface maps (TCSM), toxicity assessments, physical properties, electron localization function (ELF), and total electrostatic potential (ESP) analyses. toxicity analyses, a quantitative structure-activity relationship (QSAR) model was used for Toxicity Estimation Software Tool (TEST) and ProTox 3.0, a web-based virtual toxicity laboratory, was used for oral toxicity prediction. Toxicity estimates using TEST showed that both terpolymers exhibited low toxicity profiles. Oral toxicity prediction emphasizes that CMA2OEM-co-DVB-co-VIM may pose a greater risk compared to CMA2OEM-co-DVB-co-AMPS. In addition, experimental thermal characterization of these terpolymers was also performed. These comprehensive analyses have provided significant insights into the potential applications and functional properties of the terpolymers.