To provide an imaging device that is highly stable when exposed to radiation such as X-rays. The imaging device includes a substrate, a pixel circuit, and a scintillator which are stacked in order. The pixel circuit includes a light-receiving element and a circuit portion electrically connected to the light-receiving element. The substrate is provided with a heater. A transistor in the pixel circuit is heated by the passage of a current through the heater at times other than imaging, thus, degradation of the electrical characteristics of the transistor due to X-ray irradiation can be recovered.