Surface-enhanced Raman spectra (SERS) and electronicstructure-based properties are important tools for investigation of the molecular sensing ability of nanoparticles. The present computational study is intended to explore the sensing ability of Zn 3 O 3 and Mgcontaining Zn 3 O 3 structures for CO 2 molecules by CHEM effects of the SERS technique. Geometries of CO 2 -adsorbed Zn 3 O 3 , Zn 2 MgO 3 (Mg as a substitutional impurity), and Zn 3 O 3 Mg (Mg as an interstitial impurity) structures are modeled using the B3LYP/6-31G(d,p) level of density functional theory. The Mg site of the Zn 2 MgO 3 and Zn 3 O 3 Mg structures is preferential for the adsorption of CO 2 . The observed energy trends are supported by geometrical analysis, molecular orbital interactions, redshifts in CO 2 vibrational modes, and topological properties. Raman activity enhancement of the CO 2 symmetric vibrational mode is significant when the molecule is adsorbed at the Mg site of Zn 3 O 3 Mg. The observed Raman activity enhancement is supported by SERS spectra obtained from anharmonic calculations carried out on B3LYP/6-31G(d,p) geometries and substantiated by a larger change in the polarizability with energy corresponding to the symmetric vibrational mode of CO 2 . The TDDFT calculations, frequency-dependent polarizabilities, and charge transfer interactions show that Zn 3 O 3 Mg is a good substrate for sensing of CO 2 , with visible wavelengths, by resonance Raman effect. The trends with adsorption energy, Raman activity, and excited state properties are also substantiated by B3LYP/6-311+G(d,p) calculations.