How a tradition frames it · 2 tellings · Pan-India
Hanuman as Shiva's own avatar
Shaiva texts and popular tellings say that when Vishnu chose to be born as Rama, Shiva chose to be born as Hanuman — his eleventh Rudra — to serve him; Vaishnava schools call Hanuman the son and incarnation of Vayu.
The Shiva Purana counts Hanuman among Shiva's own avatars, and popular Shaiva tellings expand it: seeing Vishnu about to descend as Rama, Shiva chose to descend as well, as the monkey Hanuman, the eleventh Rudra, so that he could serve his friend in person. Texts named for the idea include the Mahabhagavata, Skanda and Brihaddharma Puranas and the Mahanataka; a folk tale has Shiva visit Ravana in this shape unrecognised. Pattanaik summarises the Puranic range — son, manifestation, avatar or eleventh Rudra of Shiva — and that summary is his.
What is different here:
Base telling for this frame: Hanuman's devotion to Rama is Shiva's devotion to Vishnu.
Vaishnava schools hold Hanuman to be the son and incarnation of the wind god Vayu, born to Anjana, and read his service to Rama as the perfect devotee's service to Vishnu without any Shaiva descent. South Indian texts offer a third reading, Hanuman as a union of Shiva and Vishnu, linked to the Ayyappa idea, and one seventeenth-century source has all three gods combine to become him.
What is different here:
No Shiva-avatar: parentage from Vayu; the combined-form readings are further alternatives.