An X-ray imaging apparatus includes an operation panel including a plurality of operation input units and disposed on an X-ray imaging table, and a substrate including circuits disposed inside the operation panel and configured to output signals due to operation of the plurality of operation input units and a sensor configured to sense ingress of liquid.