PROBLEM TO BE SOLVED: To generate a long image by joining a plurality of X-ray images taken while changing a shooting position in a state where a shooting unit is tilted, and to generate a long image in which each X-ray image is appropriately joined. Provide an X-ray imaging apparatus capable of generating the above. An X-ray imaging device 100 includes a top plate 1, an X-ray irradiation unit 9, and an X-ray detection unit 10, an imaging unit 2 that captures an X-ray image 40, a rotation mechanism 3, and the like. In a state where the moving mechanism 4 and the X-ray optical axis 22 emitted from the X-ray irradiation unit 9 are tilted with respect to the top plate 1, the top plate 1 and the imaging unit 2 are placed in the lateral direction of the top plate 1. When images are taken at a plurality of imaging positions 21 while being relatively moved in at least one of the above and the longitudinal directions, the magnification of the plurality of X-ray images 40 is increased based on the relative movement amount of the top plate 1. An image processing unit 17 that generates a long image 41, which is a longer image than the X-ray image 40, by performing a process of changing and joining the images is provided. [Selection diagram] Fig. 1【課題】撮影部を傾斜させた状態で撮影位置を変更しながら撮影した複数のX線画像を繋ぎ合せて長尺画像を生成する場合でも、各X線画像が適切に繋ぎ合わされた長尺画像を生成することが可能なX線撮影装置を提供する。【解決手段】このX線撮影装置100は、天板1と、X線照射部9とX線検出部10とを含み、X線画像40を撮影する撮影部2と、回動機構3と、移動機構4と、X線照射部9から照射されるX線の光軸22を天板1に対して傾斜させた状態において、天板1と撮影部2とを、天板1の短手方向と長手方向とのうち、少なくともいずれかの方向に相対移動させながら複数の撮影位置21において撮影した場合に、天板1の相対移動量に基づいて、複数のX線画像40の拡大率をそれぞれ変更して繋ぎ合わせる処理を行うことにより、X線画像40よりも長尺な画像である長尺画像41を生成する画像処理部17と、を備える。【選択図】図1