Provided are a mobile X-ray apparatus for controlling a battery management system (BMS) and a method of operating the mobile X-ray apparatus. The mobile ※ ray apparatus may include a power supply that includes a battery and a BMS configured to manage the battery, and a controller configured to control the BMS to shut down in response to detecting a malfunction in the BMS.