The invention relates to a glass for a photo-thermal generation heat-collecting pipe. A high precision glass pipe is prepared by a vertical, horizontal or viilo pull-pipe forming technology, thereby meeting the requirements of the glass pipe for a heat-collector which is required by a trench-type photo-thermal generation technique. The glass has high transmissivity of ultraviolet, visible light and near-infrared, high mechanical strength and chemical stability and anti-insolation; and the expansion coefficient of the glass is (36-68)*10-7 / DEG C, thereby meeting the requirements of matched seal and gas tightness of tungsten, molybdenum and kovar alloy. The glass comprises the following components by weight percent: 55-75% of SiO2, 6-18% of B2O3, 3-10% of Al2O3, 0.5-10.5% of MgO+CaO+BaO+ZnO, 3.4-12% of Na2O+K2O, 0.1-2.0% of WO3+MoO3, 0.01-0.20% of Cl2, 0.01-0.20% of CeO2 and no more than 0.015% of Fe2O3. The invention is characterized in that the glass belongs to a borosilicate glass system, satisfies the requirements of the high precise forming technology, does not contain harmful elements such as As2O3, Sb2O3, SO3 and the like, has good melt quality and environmental protection, and can prevent the surface from turning black and the bubble generation when seal processing.