The invention discloses a PbTe / CdTe double quantum dot codoping borosilicate glass and a preparation technology thereof. The PbTe / CdTe double quantum dot codoping borosilicate glass comprises the following raw materials by mole percent: 45-75% of SiO2, 6-12% of B2O3, 4-8% of Na2O, 0.1-3% of Al2O3, 2.5-9% of ZnTe, 1.2-2.4% of PbO, 1-2% of CdO, 5-9% of CaO, 4-6% of ZnO, 1-2% of SrF2, 0.1-0.6% of Mg2B2O5 and 0.1-1% of La2O3+Pr2O3+Nb2O5. According to the invention, a melting method is adopted for doping PbTe quantum dot and CdTe quantum dot into a borosilicate glass system, so as to realize complete coverage for visible light and near / mid-infrared rays; the spectral response range is within 500-2100nm; different thermal treatment processes are adopted for regulating the growth size and growthrate of quantum dot.