An imaging device capable of obtaining high-quality imaging data is provided. The imaging device can correct variation in the threshold voltage of amplifier transistors included in pixel circuits. The amplifier transistor includes two gates facing each other with a channel formation region provided therebetween. The amplifier transistor operates in such a manner that one of the gates holds a potential for correcting variation in the threshold voltage and the other thereof is supplied with a potential corresponding to imaging data.