In a range image sensor, a plurality of range sensors are disposed in a one-dimensional direction. The plurality of range sensors include a photogate electrode, first and second signal charge accumulating regions disposed on one side of the photogate electrode, third and fourth signal charge accumulating regions disposed on the other side, first transfer electrodes for making charge flow into the first and fourth signal charge accumulating regions in response to a first transfer signal, and second transfer electrodes for making charge flow into the second and third signal charge accumulating regions in response to a second transfer signal.