He was born in
Amol, Tabaristan some twenty kilometres south of the
Caspian Sea) in the winter of 838-9. He was precocious. He left home to study in A.H. 236 (850-1) when he was twelve. He retained close ties to his home town. He did return at least twice, the last time in A.H. 290 (903) when his outspokenness caused some uneasiness and led to his quick departure.
He first went to
Ray (Rages), where he remained for some five years. A major teacher in Rayy was Abu Abdillah Muhammad ibn Humayd al-Razi already in his seventies. Ibn Humayd had taught in Baghdad and was now retired in his native city. Among other material, ibn Humayd taught al-Tabari the historical works of
ibn Ishaq, especially
al-Sirah, his life of Muhammad. Al Tabari was thus introduced in youth to pre-Islamic and early Islamic history. Al-Tabari quotes ibn Humayd frequently. Beyond the names of at least two of them, we know little about al-Tabari's other teachers in Rayy.
Then he went to Baghdad to study from
ibn Hanbal, who, however, had recently died. This was in late 241 (late 855 or early 856). Al-Tabari possibly made a pilgrimage prior to his first arrival in Baghdad. He left Baghdad probably in 242 (856-7) to travel through the southern cities of
Basra, Kufah and
Wasit. There he met a number of eminent and venerable scholars.
On his return to Baghdad, he took a tutoring position from the vizier Ubaydallah b. Yahya b. Khaqan. This would have been before A.H. 244 (858) since the vizier was out of office and in exile from 244 to 248 (858-9 to 862). There is an anecdote told that al-Tabari had agreed to tutor for ten dinars a month, but his teaching was so effective and the lad's writing so impressive that the teacher was offered a tray of dinars and dirhams. The ever ethical al-Tabari declined the offer saying he had undertaken to do his work at the specified amount and could not honourably take more. This is one of a number of stories about him declining gifts or giving gifts of equal or greater amount in return.
In his late twenties he travelled to Syria, Palestine and Egypt. In Beirut he made the highly significant connection of al-Abbas b. al-Walid b. Mazyad al-'Udhri al-Bayruti (c.169-270/785-6 to 883-4). Al-Abbas instructed al-Tabari in the Syrian school's variant readings of the Qur'an and transmitted through his father al-Walid the legal views of
al-Awza'i, Beirut's prominent jurist from a century earlier.
Al-Tabari arrived in Egypt in 253 (867). There he was among the "Famous Four"
who met there who were all named Muhammad: Ibn Jarir, Ibn Khuzaymah, Ibn Harun, and Ibn Nasr.
Some time after 256/870 al-Tabari returned to Baghdad, possibly making a pilgrimage on the way. If so, he did not stay long in the
Hijaz. Al-Tabari had a private income from his father while he was still living and then the inheritance. He took money for teaching. He never took a government or a judicial position.