A semiconductor device production method including, in order: a first step in which a semiconductor element having a pn junction-exposed section is prepared; a second step in which an insulation layer is formed so as to cover the pn junction-exposed section; and a third step in which a layer comprising a glass composition for semiconductor junction protection is formed upon the insulation layer, and then a glass layer is formed upon the insulation layer by sintering the layer comprising the glass composition for semiconductor junction protection. The glass composition for semiconductor junction protection comprises glass fine particles prepared from a melt obtained by melting a raw material containing at least two alkali earth metal oxides from among at least SiO2, Al2O3, B2O3, ZnO, CaO, MgO, and BaO, and not substantially containing Pb, As, Sb, Li, Na, or K. In addition none of the raw material components are included as fillers. As a result, a semiconductor device having high pressure resistance similar to conventional semiconductor devices can be obtained using a glass material not including lead.