A method of manufacturing a semiconductor device, comprising the steps of:
- (a) forming a first layer by performing the chemical vapor deposition method on a semiconductor substrate at a first temperature and a first pressure for a first period;
- (b) performing a heat treatment under an inert gas atmosphere while exhausting a gas from the vicinity of said semiconductor substrate;
- and
- (c) forming a second layer by performing the chemical vapor deposition method at a second temperature higher than said first temperature and a second pressure lower than said first pressure for a second period,
- wherein said heat treatment is performed in said step (b) after the step (a) and before the step (c) at a third temperature equal to or higher than said second temperature and a third pressure equal to or lower than said second pressure.