Farrow was raised in the Catholic faith and attended convent schools. Farrow learned the Transcendental Meditation technique (TM) in 1966 at UCLA. In 1967 Farrow became interested in yoga and opened a yoga institute at a former church in Boston. On January 23, 1968, Farrow, along with her sister Mia and brother John, traveled with Maharishi Mahesh Yogi from New York to India, and then to the Maharishi's ashram in Rishikesh for a Transcendental Meditation teacher training course.
The Beatles arrived shortly thereafter, on February 16 and 20. Farrow was dedicated to practicing the TM technique so she could become a TM teacher. According to Farrow: "I would always rush straight back to my room after lectures and meals so I could meditate. John, George and Paul would all want to sit around jamming and having a good time and I'd be flying into my room. They were all serious about what they were doing, but they just weren't as fanatical as me". She "turned into a near recluse" and "rarely came out" of her cottage. Lennon was asked to "contact her and make sure she came out more often to socialize" and he wrote the song "Dear Prudence". According to Lennon, "She'd been locked in for three weeks and was trying to reach God quicker than anyone else".