A semiconductor device including a capacitor with increased charge capacity and having a high aperture ratio and low power consumption is provided for a semiconductor device including a driver circuit. The semiconductor device includes a driver circuit which includes a first transistor including gate electrodes above and below a semiconductor film so as to overlap with the semiconductor film; a pixel which includes a second transistor including a semiconductor film; a capacitor which includes a dielectric film between a pair of electrodes in the pixel; and a capacitor line electrically connected to one of the pair of electrodes. In the semiconductor device, the gate electrode over the semiconductor film of the first transistor is electrically connected to the capacitor line.