The invention provides an electro-optical device that has luminescent
elements of a long lifetime by preventing oxygen or moisture from
entering to luminescent layers or electrodes even in case of an
electrode-optical device provided with a number of luminescent layers and
an electronic apparatus provided with the electro-optical device. The
invention can include an electro-optical device having first electrodes
on a base body, a plurality of element areas including element layers
including at least one functional layers disposed above the first
electrodes, a second electrode formed above the element layers, a
surrounding sections disposed on the base body so as to cover outer sides
of the element layers included the element areas in the nearest proximity
of the periphery of the base body, and a gas-barrier layer covering over
the second electrode. Outer sides of the surrounding sections can be
covered with the second electrode, and the gas-barrier layer can be in
contact with the base body.