An imaging device comprising: a plurality of pixel units; a control unit configured to control a signal output by each of the plurality of pixel units; and a correction unit configured to correct the signal output by each of the plurality of pixel units to generate a pixel signal, wherein each of the plurality of pixel units includes a photoelectric conversion unit, a transfer switch configured to transfer a charge generated in the photoelectric conversion unit to a floating diffusion, and a reset switch configured to discharge the charge accumulated in the floating diffusion, the control unit is configured to cause each of the plurality of pixel units to output a first signal and a second signal, the first signal being a potential obtained by subtracting a reference potential generated based on a reset potential of the floating diffusion from a potential of the floating diffusion held when the charge accumulated in the photoelectric conversion unit is transferred upon the transfer switch being closed, the second signal being a potential obtained by subtracting the reference potential from the potential of the floating diffusion held when the reset switch is closed with the transfer switch being open, and the correction unit is configured to generate, with respect to the first signal and the second signal output by each of the plurality of pixel units, the pixel signal by subtracting a correction amount from a signal intensity of the first signal, the correction amount being a product of a signal intensity of the second signal and a coefficient determined in advance in accordance with a position of each of the plurality of pixel units and an analog gain applied to each of the first signal and the second signal when the first signal and the second signal are read out, wherein the correction unit is configured to generate the pixel signal by subtracting the correction amount from the signal intensity of the first signal when the analog gain is smaller than a predetermined threshold, the correction amount being a product of the signal intensity of the second signal and a common coefficient determined in advance for the plurality of pixel units. a plurality of pixel units; a control unit configured to control a signal output by each of the plurality of pixel units; and a correction unit configured to correct the signal output by each of the plurality of pixel units to generate a pixel signal, wherein each of the plurality of pixel units includes a photoelectric conversion unit, a transfer switch configured to transfer a charge generated in the photoelectric conversion unit to a floating diffusion, and a reset switch configured to discharge the charge accumulated in the floating diffusion, a photoelectric conversion unit, a transfer switch configured to transfer a charge generated in the photoelectric conversion unit to a floating diffusion, and a reset switch configured to discharge the charge accumulated in the floating diffusion, the control unit is configured to cause each of the plurality of pixel units to output a first signal and a second signal, the first signal being a potential obtained by subtracting a reference potential generated based on a reset potential of the floating diffusion from a potential of the floating diffusion held when the charge accumulated in the photoelectric conversion unit is transferred upon the transfer switch being closed, the second signal being a potential obtained by subtracting the reference potential from the potential of the floating diffusion held when the reset switch is closed with the transfer switch being open, and the correction unit is configured to generate, with respect to the first signal and the second signal output by each of the plurality of pixel units, the pixel signal by subtracting a correction amount from a signal intensity of the first signal, the correction amount being a product of a signal intensity of the second signal and a coefficient determined in advance in accordance with a position of each of the plurality of pixel units and an analog gain applied to each of the first signal and the second signal when the first signal and the second signal are read out, wherein the correction unit is configured to generate the pixel signal by subtracting the correction amount from the signal intensity of the first signal when the analog gain is smaller than a predetermined threshold, the correction amount being a product of the signal intensity of the second signal and a common coefficient determined in advance for the plurality of pixel units.