Muhammad VI al-Habib, commonly known as Habib Bey, was born in Le Bardo on 13 August 1858. His father, Mohamed el-Mamoune Bey, died in 1861, when Habib was 3. His uncle Muhammad III as-Sadiq oversaw his education and arranged his marriage to the niece of Grand Vizier Mustapha Ben Ismaïl.
Named Bey al-Mahalla, or heir apparent, on 12 May 1906, Habib succeeded his cousin Muhammad V an-Nasir in July 1922. He became a marshal upon taking the throne. He relied on the French Resident General, Lucien Saint, and did not challenge the protectorate authorities.
His reign coincided with the renewed organization of Tunisia’s national movement and the founding of the Destour party in 1922. As French authorities introduced consultative councils and laws concerning French nationality, Habib advised Destour leader Abdelaziz Thâalbi to leave the country if he continued his opposition. In July 1926, Habib attended the inauguration of the Grand Mosque of Paris with Morocco’s Mouley Youssef. He was the first Tunisian ruler whose name was included in Friday prayers, replacing that of the Ottoman caliph.
Habib lived at the Zarrouk palace in Carthage, which he had purchased, until his death there on 13 February 1929. He was buried at the Tourbet el Bey in Tunis and was succeeded by Ahmed Bey.