Civil defence spokesman Nayef al-Sharif said no casualties were reported in the fire, which was sparked by a faulty air conditioning unit on the eighth floor of a hotel in the Azaziyah district of Mecca.
All 600 residents, most of whom had come from Turkey and Yemen for the hajj pilgrimage, were evacuated and have since returned to the hotel, Sharif said.
The hajj draws Muslims from around the world to the western Saudi Arabian city of Mecca, birthplace of the Prophet Mohammed and the most revered site in Islam.
The pilgrimage, a pillar of Islam that capable Muslims must perform at least once, will take place in the first week of September.
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)