Written by John Lennon and credited to Lennon-McCartney. The song is featured on their 1968 double album, "The Beatles," commonly known as "The White Album."

The story behind "Sexy Sadie" is closely tied to The Beatles' experiences with the Maharishi Mahesh Yogi, a spiritual leader who taught Transcendental Meditation. In early 1968, The Beatles traveled to Rishikesh, India, to study meditation with the Maharishi. Initially, they were enthusiastic about the experience and found it creatively inspiring. However, their stay ended abruptly when rumors and allegations of inappropriate behavior by the Maharishi surfaced.
John Lennon, in particular, felt disillusioned and betrayed by the Maharishi. He wrote "Sexy Sadie" as a critique and expression of his disappointment. The original lyrics were more explicit in their criticism, but Lennon changed them to be less direct before the song was recorded.
The song's title was changed from "Maharishi" to "Sexy Sadie" at the suggestion of George Harrison, who thought it would be more respectful and less controversial. Despite the change, the song remains a reflection of Lennon's disenchantment with the Maharishi and the broader disillusionment The Beatles experienced during their time in India.