The production process involved the use of the melt-quenching approach to produce a series of barium borosilicate glasses with the specific chemical formula 55B2O3+(26-x)BaO+12SiO2+7Na2O + xTb4O7, where x = 0, 0.5, 1, 2, and 3 mol%. X-ray diffraction (XRD), Raman spectroscopy, optical absorption, and photoluminescence spectra measurement were used to examine the prepared samples. X-ray diffraction revealed the non-crystalline character of the assembled samples. The Raman spectroscopy revealed that the incorporation of Tb4O7 into borosilicate glasses induced alterations in their structure. As the doping of Tb3+ ions increases, the density and molar volume of the glasses under investigation increase. Furthermore, the ion concentration and field strength increase while the polaron radius and inter-ionic distance decrease. The glass optical absorption spectra showed five peaks in the wavelength range from 300 nm to 2000 nm: 5L10, 5D3, 5D4, 7F(0, 1, 2), and 7F3, attributed to Tb3+ ion electronic transitions. In addition, optical parameters like optical energy gap, Urbach energy, refractive index, molar refractive index, reflection loss, electronic polarizability, and optical transmission coefficient were computed. Terbium-doped borosilicate glasses had a decreased optical energy gap and an improved refractive index. Photoluminescence spectra were excited at 325 nm and showed five peaks in the range of 400–750 nm. Photoluminescence (PL) emission spectra exhibit distinct peaks in the visible range.