Disclosed is an X-ray imaging device for radiographing an object including a generator configured to emit X-rays and a sensor unit configured to detect the X-rays using at least one sensor, a gantry having the generator and the sensor unit facing with the object therebetween, and a sensor moving part provided in the sensor unit and configured to move the sensor while the generator and the sensor while the gantry rotates about a rotating axis.