An X-ray imaging apparatus according to one embodiment captures an X-ray image by irradiating a subject with X-rays from an X-ray generating means, and detecting X-rays that have penetrated the subject with an X-ray detecting means, and includes a working-state detecting means and an X-ray dosage control means. The working-state detecting means detects a plurality of types of working-state information related to the working state of the operator performing surgery on the subject. The X-ray dosage control means, based on the plurality of types of detection results detected by the working-state detecting means, controls the X-ray dosage irradiated from the X-ray generating means.