A resonator device includes: a resonator element; a first package that accommodates the resonator element; and a second package in which the first package is accommodated and fixed. The first package includes a base substrate that has a first surface on which the resonator element is disposed and a second surface which is in a front-back relationship with the first surface, and that contains single crystal silicon, an integrated circuit that is provided on the first surface or the second surface and that includes a temperature sensor circuit and a heater circuit, and a lid that is bonded to the base substrate such that the resonator element is accommodated between the lid and the base substrate.