This X-ray phase imaging apparatus includes an X-ray source, a detector, a plurality of gratings including a phase grating and an absorption grating, and an image processing unit for generating an image including a dark field image. The image processing unit generates an image including a dark field image from an image captured by placing the plurality of gratings at one or two predetermined positions.