Ali Khamenei's father was the cleric Javad Khamenei, and his paternal grandfather was Hussein, who was buried in Najaf, Iraq (in the Wadi-us-Salaam cemetery). Hussein's father was Mohammad Hosseini Tafresshi, who was considered a Sayyid of Aftasi, whose family tree was connected to Sultan-al-Ulama Ahmad (also known as Seyyed Ahmad).
Mohammad Hosseini Tafreshi Khamenei Tabrizi was the son of Mohamad Taghi, who was the son of Mirza Ali-Akbar, who was the son of Fakhr-al-Din Tafreshi. The descendants of Fakhr-al-Din (also known as Mir-Fakhra) are called Mir-Fakhrayi.
The family's descent, known as "Sadat-e Hosseini", is likewise connected to the third Shia Imam, Husayn ibn Ali.
↑Institute of Contemporary History Studies of Iran
↑Izady 1989, p.45: "Mr. Khamenei was born to an Azeri clerical family living at the site of the holy Shi'ite shrine of Meshad, Khurasan. But his Azeri connections are undeniable, including his fluency in Azeri and his maintaining of the family's last name ascribing him to the town of Khameneh in Azerbaijan."
↑Miller & Aghajanian-Stewart 2017, pp.4, 106: "Alongside the headword for each entry, representing its word family, we also provide the pronunciation of the headword in the International Phonetic Alphabet (IPA), reflecting the common Iranian pronunciation of the word. [...] Rank: 4283; Headword: خامنهای; Pronunciation: xɑmeneji; Gloss: Khamenei."