Ganesha is widely worshipped by Jains, though there is no mention of him in early Jaina religious writings. He first emerges in a 12th century literary work by Hemachandra, a Jain scholar, philosopher and historian who variously names Ganesha as Heramba, Vinayaka and Ganavignesa. Between the two historical Jaina sects – Swetambara and Digambara – it was the more liberal Swetambaras who embraced Ganesha, along with other Hindu deities. Swetambara texts extol Ganesha as a deity whom even other gods propitiate to attain their wishes. Swetambara Jains observe the Hindu practice of commencing all auspicious ceremonies and new enterprises with obeisance to Ganesha.
A 9th century Jain temple at Mathura (Uttar Pradesh) has the earliest known image of Ganesha in this religion, along with Ambika (another name for His mother, Parvati). Several temple images of Vinayaka are also found in the Jainism dominated states of Rajasthan and Gujarat. Travelers to Mumbai can find a Ganesha carving at the beautiful, marble Jain temple in Walkeshwar.
Typically, Ganesha is looked upon as a guardian and not a principal deity in Jainism – hence, His image on doorframes or basements of Jain temples.