In a DRAM thus comprising memory cells each including 1 transistor and 1 capacitor, the semiconductor device according to the present embodiment uses the self-aligned contact in the step of opening the contact hole for connecting the impurity diffused layer 60 to the bit lines 74 and the step of opening the contact hole for connecting the impurity diffused layer 62 to the storage electrode 86.