An electro-optical device includes a pair of substrates bonded together via a seal member disposed in a seal region, and a plurality of light-shielding layers formed so as to overlap with each other on one of the substrates, and one of the plurality of light-shielding layers is larger in outer shape than another light-shielding layer formed at a level higher than the one of the light-shielding layer, in plan view from above the one of the substrates.