In this work, the optoelectronic characteristics of kesterites of the Cu2NiXS4 system (X = Si, Ge, Sn) were studied. The electronic properties of the Cu2NiXS4 (X = Si, Ge, Sn) system were studied using first-principles calculations within the framework of density functional theory. For calculations, ab initio codes VASP and Wien2k were used. The high-precision modified Beke-Jones (mBJ) functional and the hybrid HSE06 functional were used to estimate the bandgap, electronic, and optical properties. Calculations have shown that when replacing Si with Ge and Sn, the band gap decreases from 2.58 eV to 1.33 eV. Replacing Si with Ge and Sn reduces the overall density of electronic states. In addition, new deep (shallow) states are formed in the band gap of these crystals, which is confirmed by the behavior of their optical properties. The obtained band gap values are compared with existing experimental measurements, demonstrating good agreement between HSE06 calculations and experimental data. The nature of changes in the dielectric constant, absorption capacity, and optical conductivity of these systems depending on the photon energy has also been studied. The statistical dielectric constant and refractive index of these materials were found. The results will help increase the amount of information about the properties of the materials under study and will allow the use of these compounds in a wider range of optoelectronic devices, in particular, in solar cells and other devices that use solar radiation to generate electric current.