An X-ray inspection apparatus includes: an X-ray emitter configured to emit an X-ray; an X-ray detector configured to detect the X-ray; a first flow passage configured to guide air to at least part of the X-ray detector; and a second flow passage configured to guide air to at least part of the X-ray detector.