An electro-optical device comprising a first substrate, a second substrate facing the first substrate, a light-emitting layer arranged between the first substrate and the second substrate which is capable of emitting light from a plurality of pixels including at least a first subpixel and a second subpixel, the first subpixel forming a first image and the second subpixel forming a second image, and a light-shielding layer arranged between the second substrate and the light-emitting layer having an opening which is capable of transmitting light emitted from a first subpixel in the light-emitting layer through the second substrate to a first range and transmitting light emitted from the second subpixel of the light-emitting layer through the second substrate to a second range.