An X-ray imaging apparatus that reduces the workload of a user when the X-ray imaging is performed while moving a table in 2 axes directions in a loading plane relative to an X-ray irradiation detection element. The X-ray imaging apparatus 100 comprises an X-ray irradiation detection element 1 including an X-ray irradiation element irradiates an X-ray to a subject 10 and an X-ray detection element 1 that detects the X-ray transmitting said subject 10, a table 2 that can load the subject 10 on the loading plane, and a control element 3 that moves the X-ray irradiation detection element 1 or at least one side of the table 2 in the first direction and the second direction orthogonal each other along a pathway of the relative position of the preregistered loading plane 2c and the X-ray irradiation detection element 1 when the X-ray imaging of the subject 10 is performed.