The void formation process and phosphorus behavior in phosphosilicate glass film deposited by chemical vapor deposition techniques were investigated. The films were heat‐treated three times, first in Equation or symbol description not availableN2 atmosphere for densification, then in Equation or symbol description not availableH2 or Equation or symbol description not availableN2 atmosphere, and after that in Equation or symbol description not availableN2 atmosphere. It was found that (i) void formation takes place with the third heat‐treatment in Equation or symbol description not availableN2 atmosphere, (ii) with the second heat‐treatment in Equation or symbol description not availableH2 atmosphere, absorbance of P=O band at 1330 cm−1decreases and absorbance of band at 1250 cm−1 increases, but further absorbance change does not take place with the third heat‐treatment. The gain in absorbance of the band at 1250 cm−1 is proportional to the loss in absorbance of the P=O band at 1330 cm−1. The quantity of phosphorus products formed with heat‐treatment in Equation or symbol description not availableH2 atmosphere was estimated from the absorbance change of the P=O band at 1330 cm−1. Comparing the quantity of the phosphorus products with the void size and number, it was proposed that the phosphorus products are gaseous species at high temperature, and the quantity of the gaseous species determines the product of the void number in the PSG film and square of the void size.