It has been named after the great Sufi Saint Baba Sheik Fariduddin Ganjshakar, whose verses are mentioned in Guru Granth Sahib the holy scripture of Sikh religion. In the 13th century, this town was founded by Raja Mokalsi, the grandson of Rai Munj, a Bhatti Chief of Bhatnair now renamed as Hanumangarh, Rajasthan and named Mokalhar after his name.