Shaykhism (Arabic: الشيخية) is an Islamic religious movement founded by Shaykh Ahmad in early 19th century Qajar Iran. It began from pure Shi‘a doctrine of the end times and the day of resurrection. Today the Shaykhi populations retain a minority following in Iran and Iraq. In the mid 19th century many Shaykhis converted to the Bábí and Bahá'í religions, which regard Shaykh Ahmad highly.
The primary force behind Shaykh Ahmad's teachings is the Twelver Shi'a belief in the occultation of the Twelfth Imam. Twelver Shi'ah believe there were twelve Imams starting with Ali and ending with Muhammad al-Mahdi. While the first eleven Imams died, the twelfth is said to have disappeared, to return "before the day of judgment" and "fill the Earth with justice and make the truth triumphant". This messianic figure is called the Mahdi.
Shaykhí teachings on knowledge are similar in appearance to that of the Sufis, save that where the Sufi "wayfarer" arrogates to himself the role of interpreting and adjudicating truth, Shaykh Ahmad was clear that the final arbiter for interpretation and clarity was the 12th Imam.