In early Islamic history, the governor of Medina (Arabic: عامل المدينة, romanized: ʿāmil al-Madīnah) was an official who administered the city of Medina and its surrounding territories.
During the era of the Rashidun, Umayyad and early Abbasid caliphates, the governor was generally appointed by the caliph, and remained in office until he died or was dismissed. The governorship was one of the chief administrative positions in the Hijaz and carried with it certain symbolic privileges, including the opportunity to lead the annual Muslim pilgrimage.