A mobile X-ray imaging apparatus and a method of controlling the mobile X-ray imaging apparatus are provided. The mobile X-ray imaging apparatus includes an X-ray source mounted in a movable main body, a battery configured to supply operating power to the X-ray source, a charger configured to supply charging power to charge the battery, and a controller configured to block charging of the battery while X-rays are radiated.