Nanocomposites, blending the unique properties of inorganic nanoparticles with polymers, are gaining momentum in various industries. This study delves into the synthesis and characterization of barium oxide (BaO)-doped carboxymethyl cellulose (CMC) nanocomposites, focusing on their structural, optical, electrical, and dielectric properties. Using an in-situ polymerization method, CMC films were doped with 5 % and 10 % BaO nanoparticles. X-ray diffraction analysis revealed that the doped samples exhibited enhanced crystallinity compared to pure CMC, with crystallinity percentages measured at 37.95 % and 28.86 % for 5 % and 10 % BaO, respectively, indicating the successful incorporation of BaO. Scanning electron microscopy illustrated the distribution of BaO nanoparticles, showing spherical agglomerations on the film surface. SEM analysis reveals emergence of spherical agglomerations and bright spots on nanocomposite film surface upon BaO introduction, indicating BaO nanoparticles presence. Further, the BaO nanoparticles act as catalytic and nucleating agents, influencing crystalline structure nucleation and growth, potentially enhancing film homogeneity and structural integrity. In addition, UV–visible spectroscopy elucidated the optical properties, indicating a shift in the bandgap from indirect to direct with BaO addition. The bandgap values decrease upon the addition of BaO, indicating a transition from an amorphous to a nanocrystalline structure, with respective reduction percentages of 22.73 % and 10.71 % for the 5%BaO/CMC and 10 %BaO/CMC samples compared to CMC. Electrical conductivity measurements showed enhanced conductivity in 10 % BaO/CMC due to improved charge carrier mobility, supported by dielectric studies demonstrating increased dielectric. The introduction of 5 % and 10 % BaO resulted in reductions of approximately 62.06 % and 65.77 %, respectively, compared to the pure CMC sample. This decrease in dielectric loss indicates an enhancement in the electrical properties of the nanocomposites. This comprehensive investigation could give further insights into the different properties of BaO-doped CMC nanocomposites, offering insights into their potential applications in various fields such as electronics, energy storage, and optoelectronics.