An X-ray imaging apparatus comprises an X-ray generation unit a plurality of supporting members configured to support the X-ray generation unit and an accommodation unit configured to accommodate the X-ray generation unit and the plurality of supporting members, wherein the accommodation unit is formed by bringing a first member and a second member into contact with each other, each of the plurality of supporting members is connected to the first member by a first connecting portion that is rotatable and to the X-ray generation unit by a second connecting portion that is rotatable, and a support height of the X-ray generation unit supported by the supporting members can be adjusted in accordance with a distance between the first member and the second member.