PurposeTo study the degradation behaviour of borosilicate glass, which is suitable for hermetic sealing with Molybdenum and Kovar (Fe/Co/Ni) alloys, as a function of concentration and temperature in both acidic and alkaline media for long durations, up to 160 h.Design/methodology/approachThe degradation (weight loss in mg/cm2 of the glass sample) was determined by immersing the glass sample in HCl and NaOH solutions at different temperatures for different periods extending up to 300 h. The damage to the glass surface was seen under an optical microscope and the chemical species on the corroded surface were identified by electron spectroscopy for chemical analysis.FindingsThe borosilicate glass, having the nominal composition 0.70 SiO2, 0.039 Na2O, 0.028 K2O, 0.21 B2O3, 0.01 Al2O3 was synthesized by melt and quench techniques. Degradation (corrosion) behaviour of this glass was investigated by immersing glass samples in 5 and 10 per cent HCl and 5 per cent NaOH solutions at different temperatures up to 90°C, for different periods and measuring dissolution rate (weight loss in mg/cm2 of the sample). Dissolution rates were found to be 5.47 mg/cm2 and 46.77 mg/cm2 in 5 per cent NaOH at 60 and 90°C, respectively, whereas they were comparatively low (2.59 and 5.80 mg/cm2 at 60 and 90°C, respectively, in 5 per cent HCl medium) after 160 h of total immersion period. The plot of dissolution rates against the temperatures showed the nonlinear behaviour at higher temperatures, probably due to the change in mechanism of corrosion. XPS studies exhibited the chemical species on the corroded surfaces. The optical microscopy of the corroded surface revealed that the corrosion mechanisms were different in acid and alkali media.Research limitations/implicationsThe degradation behaviour of borosilicate glass having a specific composition has been investigated as a function of concentration and temperature in both acid and alkaline media. The mixed alkali effect on the degradation behaviour may be studied by varying relative amount of Na2O and K2O in the glass composition.Practical implicationsThe glass composition under the present study has been used for fabrication of matched type glass‐to‐metal (GM) seals with kovar alloy. In this respect the present study is significant in deciding the environmental conditions for its use.Originality/valueThe degradation behaviour of borosilicate glass having alkali and alkaline earth metal oxides has been investigated as a function of concentration and temperature in both acid and alkali media. The findings in this paper have the potential implications in deciding the environmental conditions for use of GM seals fabricated using this glass.