An electro-optical device including a first substrate, a second substrate facing the first substrate, with a sealing material interposed between the first and second substrates, liquid crystals being interposed in at least an effective pixel region between the first and second substrates, comprises an alignment layer that is formed on at least one of the first and second substrates immediately below the sealing material and aligns the liquid crystals, and a lower layer formed below the alignment layer, wherein a transparent conductive layer that is firmly adhered to the alignment layer and the lower layer is formed in a region covering at least the sealing material between the alignment layer and the lower layer.