Not much is known about him, his origins are shrouded in mystery and much of his biography is based on legends. It is assumed that he was of Turkish or Persian descent, and belonged to a group of Khorasani migrants in Anatolia who had left their homeland during the Mongol conquests. According to "The history of Aşıkpaşazade" (Aşıkpaşazade Tarihi), written by one of the grandsons of "Aşık Pasha" who was the son of "Muhlis Paşa" (Muhlees Pāshā) who was the son of renowned Bābā Eliyās al-Khorāsānī, "Sayyeed Muhammad ibn Sayyeed Ebrāheem Ātā" had come to Sivas, Anatolia from Khorasan with his brother “Menteş” (Mantash) to become affiliated with the tariqat of Bābā Eliyās al-Khorāsānī. On the other hand, the famous reference book of Bektaşi order, Valāyat-Nāma-i Hādjī Baktāsh-ī Wālī, claims that "Haji Bektash" was the murshid of Bābā Rāss’ūl-Allāh (Bābā Eliyās al-Khorāsānī).
The name attributed to him by his followers can be translated as "The Pilgrim Saint Bektash." The Haji title implies that he had made the pilgrimage to Mecca and Medina to perform Hajj. He is the eponym of the Bektashi Sufi order and is considered as one of the principal teachers of Alevism. According to the Encyclopaedia of Islam, the "center and source of his teachings" was Ali ibn Abu Talib, whom Alevis believe to be the righteous successor of Muhammad while also "acknowledging the twelve Shia Imams" and "holding Jafar as-Sadiq in high esteem". Despite his Shia belief and his unorthodox teachings, he is considered a renowned figure in the history and culture of both, the Ottoman Empire and the modern nation-state Turkey. On the other hand, Ibn Khallikan reports that Shī'ite tendencies belonged not to him but rather to his murids, who took refuge in his tekke at Suluca Kara Oyuk in Kırşehir after the Babai Revolt.
Haji Bektash was born in Nishapur. It is reported in some Bektashi legends that Haji Bektash was a follower and the caliph ("representative") of Khwaja Ahmad Yasavi, a Sufi mystic from Central Asia who had great influence on the Turkic nomads of the steppes. However, there are no signs of Yasavi influence in the original teachings of Haji Bektash and this claim is rejected by modern scholars, since Khoja Akhmet Yassawi lived nearly one hundred years before Haji Bektash.
Actually, the sisilah of Hadji Baktāsh Wālī reaches to the "Yassaw’īyyah tariqah" through another but a similar tariqah, which is well known as the "Wafā’īyyah tariqah" of Abu’l Wafā al-Khwarazmī, who was a murid of Khoja Ahmad Yasavi and the murshid of Dede Ğarkhen, who was in turn the murshid of Bābā Rasul Eliyās al-Khorāsānī. Modern research connects him to another important religious movement of that time: to the Qalandariyah movement and to Rāss’ūl-Allāh Bābā Eliyās al-Khorāsānī († 1240), an influential mystic from Eastern Persia, who was the murshid of Aybak Bābā, who was in turn the murshid of one of the leading actors of the Babai Revolt, namely Bābā Ishāq Kafarsudī as well. Eventually, Bābā Eliyās Khorāsānī was held responsible for the Babai Revolt organized by Bābā Ishāq Kafarsudī, and consequently executed by Mūbārez’ūd-Dīn-i Armāğān-Shāh, the supreme commander-in-chief of the armies of the Anatolian Seljuks.
The original Bektashi teachings in many ways resemble the teachings of the Khorasanian Qalandar’īyyah and that of Rāss’ūl-Allāh Bābā Eliyās. Hajji Baktāsh Wālī was the murid of "Lokhmānn Bābā" (Lokhmānn Sarakhsī) who was one of the four most famous murids of Bābā Rāsūl (Eliyās al-Khorāsānī), as well. "Lokhmānn Bābā," on the other hand, was also a murid of the renowned Qalandariyah Sufi Qutb ad-Dīn Haydar who was the murid of Khwaja Ahmad Yasavī. For these reasons, his silsila gets connected to Ahmad-i Yasavī through two different channels, one by means of "The Wafā’iyyah tariqah" of Abu’l Wafā al-Khwarazmī, and the other through the Qalandar’īyyah Sufi Qutb ad-Dīn Haydar. He was highly respected by the Sultanate of Rum due to his amicable attitude during the Babai Revolt, and his Khanqah in Suluca Kara Oyuk was permitted to remain open during and after the Babai Revolt thereby saving the most of the lives of the piteous Alevi survivors of this ominous rebellion.
The paternal line of Haji Bektash Veli:
Fatimah Zahra (wife of Imam Ali daughter of Prophet Muhammad)