An electrooptical device includes a substrate having pixel regions arranged in a matrix, pixel electrodes disposed in the pixel regions of the substrate, switching elements disposed between the pixel regions of the substrate and electrically connected to the pixel electrodes, capacitors disposed between the pixel regions of the substrate to hold electrical charge on the pixel electrodes, wiring disposed between the pixel regions of the substrate, and grooves disposed in a surface of the substrate so as to extend between the pixel regions thereof. The capacitors each include a first capacitor electrode, an insulating film, and a second capacitor electrode. The wiring includes data lines and scanning lines corresponding to the switching elements. The capacitors are at least partially disposed in the grooves.