There is provided a circuit for driving an electro-optical device including a plurality of data lines, a plurality of scanning lines extending perpendicular to the plurality of data lines, and a plurality of pixel units that are electrically connected to the data lines and the scanning lines, respectively, and that are arranged in an image display region. The circuit for driving an electro-optical device includes a shift register that sequentially outputs transmission signals from each stage thereof; a plurality of branch wiring lines which are provided corresponding to the respective stages, and each of which has an input terminal to which the transmission signals are input and m output terminals, where m is a natural number equal to or greater than 2, which are branched from the input terminal and through which the input transmission signals are output; a plurality of enable signal supply lines that respectively supply m types of enable signals having different output timings and a predetermined pulse width smaller than that of the transmission signal; an enable circuit that outputs signals whose pulse widths are shaped to the predetermined pulse width, based on the enable signals; and a sampling circuit that samples image signals, based on the shaped signals, and then outputs them to the plurality of data lines, respectively. The enable circuit includes a plurality of unit circuits. The unit circuits electrically connect the m branched output terminals to the enable signal supply lines for supplying the different types of enable signals, respectively. Each group is composed of m unit circuits, and the unit circuits belonging to the group have the same layout.