To provide an active matrix type liquid crystal display device having fine display performance, an interlayer insulating film 104 covering TFTs 102, 103 formed on a substrate 101 is first flattened by mechanical polishing typified by a CMP. Then pixel electrodes 106, 107 are formed thereon, and further, an insulating layer 108 covering the pixel electrodes is formed. And then, the insulating layer 108 is flattened by second mechanical polishing so that the surfaces of the pixel electrodes and the surface of the insulating layers 112, 113 form the same plane. By this, a difference in level disappears, and it is possible to prevent lowering of contrast or the like due to poor orientation of a liquid crystal material, diffused reflection of light, and the like.