An X-ray imaging apparatus comprises a distance detector 23, a distance calculation element 37 and a visible light source control element 33. The distance calculation element 37 calculates the distance from the visible light lamp 19 to the body surface of the subject based on the distance measured by the distance detector 23. The visible light source control element 33 controls a light intensity of a visible light emitted from the visible light source based on the calculated distance by the distance calculation element 37. The operator visually recognizes a brightness of the exposure field of the visual light, and can easily confirm that the visible light lamp has shifted to a suitable position for the X-ray imaging.