The town is about southeast of Mecca. The walled city was a pagan religious centre. It housed the idol of the goddess al-lāt, who was then known as "the lady of Tā'if." Its climate was different from its dry and barren areas closer to the Red Sea. Wheat, vines, and fruit were grown around Tā'if. The city earned its title "the Garden of the Hejaz."