The Uttara Ramayana narrates a story about the birth of Mandodari. Mayasura (Maya), the son of sage Kashyapa is married to the apsara (heavenly nymph) Hema. They have two sons, Mayavi and Dundubhi, but long for a daughter, so they start performing penances to seek the favour of the god Shiva.
Meanwhile, an apsara named Madhura arrives at Mount Kailash, the abode of Shiva, to pay her respects. In absence of his wife Parvati, Madhura Expresses her love for shiva and dances to impress shiva as music and dancing is one of the way to worship.shiva refuses her . When Parvati returns,Agitated, Parvati curses Madhura and sends her to live in a well as a frog for twelve years. Shiva consoles Madhura and says she will become a beautiful woman and be married to a great valorous man. After twelve years, Madhura becomes a beautiful maiden again and cries out loudly from the well. Mayasura and Hema, who are performing penance nearby, answer her call and adopt her as their daughter. They bring her up as Mandodari.
Ravana comes to the house of Mayasura and falls in love with Mandodari. Mandodari and Ravana are soon married with Vedic rites. Mandodari bears Ravana three sons: Meghanada, Atikaya, and Akshayakumara. Mandore, a town located 9 km north of Jodhpur, is believed to be the native place of Mandodari. Ravana is treated as a son-in-law among some local Brahmins and has a temple dedicated to him here.
Despite Ravana's faults, Mandodari loves him and is proud of his strength. She is aware of Ravana's weakness towards women. A righteous woman, Mandodari tries to lead Ravana to righteousness, but Ravana always ignores her advice. She advises him to not to subdue the Navagraha, the nine celestial beings that govern one's destiny, and not to seduce Vedavati, who would be reborn as Sita and cause the destruction of Ravana.