Eventually he arrives in Heer's village and falls in love with her. Heer offers Ranjha a job as caretaker of her father's cattle. She becomes mesmerised by the way Ranjha plays his flute and eventually falls in love with him. They meet each other secretly for many years until they are caught by Heer's jealous uncle, Kaido, and her parents Chuchak and Malki. Heer is forced by her family and the local priest or 'mullah' to marry another man called Saida Khera.
Ranjha was heartbroken. He was left to walk the quiet villages on his own until eventually he meets a 'Jogi' (ascetic). After meeting Baba Gorakhnath, the founder of the "Kanphata"(pierced ear) sect of Jogis, at 'Tilla Jogian' (the 'Hill of Ascetics', located 50 miles north of the historic town of Bhera, Sargodha District, Punjab (Pakistan)), Ranjha voluntarily became a Jogi, piercing his ears and renouncing the material world. Reciting the name of the Lord, "Alakh Niranjan", on his travels around Punjab, he eventually finds the village where he is reunited with Heer.
The two return to Heer's village, where Heer's parents agree to their marriage. However, on the wedding day, Heer's jealous uncle Kaido poisons her food so that the wedding will not take place. Hearing this news, Ranjha rushes to aid Heer, but he is too late, as she has already eaten the poison and died. Brokenhearted once again, Ranjha takes the poisoned Laddu (sweet) which Heer has eaten and dies by her side.
Heer and Ranjha are buried in a Punjabi town in Pakistan called Jhang, Punjab. Lovers and others often pay visits to their mausoleum.