The last emperor of the Mughal Empire was Bahadur Shah II.
Mirza Abu Zafar Sirajuddin Muhammad Bahadur Shah Zafar ( 24 October 1775 -- 7 November 1862 ) was the last Mughal emperor . Mughal Empire . During the following century Mughal power had become severely limited , and the last emperor , Bahadur Shah II , had authority over only the city of Shahjahanabad .