This X-ray imaging apparatus is equipped with an image processing unit. The image processing unit obtains a first image with a marker reference position set in a first X-ray image and generate a second image in which a virtual marker image is superimposed at a corresponding position in a second X-ray image reflecting the change of a relative position from the marker reference position with respect to the second X-ray image different from the first X-ray image.