Currently, key electronic and nonlinear optics (NLO) properties of DPOB chromophore were explored through doping with B12N12 nanocage. Therefore, two complexes I and II were designed by doping nanocage on methoxy and carbonyl group of DPOB at minimum distance. The DFT/TD-DFT approaches at B3LYP-GD3/6-311G(d,p) functional were utilized to accomplished the NLO properties. A band gap: 3.109 and 2.707 eV in complexes I and II, respectively with higher value of softness and least hardness were investigated in doped material than their pure forms (DPOB and B12N12). The hyperpolarizability of studied compounds increases as: B12N12 < DPOB<Complex I<Complex II. Among all investigated compounds, complex II showed the maximum values of dipole moment (15.826 D), linear polarizability (7.04 × 102a.u.) and non-linear polarizability (βtot = 4.13 × 103 and γtot = 6.70 × 105a.u.). These findings illustrated that doping of inorganic nanocages over organic surfaces is an efficient strategy to improve the NLO properties.