An X-ray imaging apparatus is capable of cutting the time needed for the long-length image. A candidate point registration element 25 registers an end of a long-length region as a candidate point. A start location determination element 27 determines the candidate point closest to the present location of the imaging system as the imaging start location based on the distance between the present location of the imaging system and each candidate point. A distance that the imaging system shifts at the imaging preparation step of the X-ray images by determining the imaging start location prior to imaging of a series of X-ray images that form a long-length image can be shortened. When the long-length imaging is implemented multiple times, the shift-distance of the imaging system is further shortened by updating the setting of the imaging start location in advance every time when a series of X-ray images is taken, so that the time needed for the entire steps relative to the long-length imaging can be largely cut.