"Glass Onion" Is A Song By The English Rock Band The Beatles From Their 1968 Double Album The Beatles Also Known As The "White Album" . The Song Was Written By John Lennon And Credited To Lennon–McCartney. Lennon Wrote The Song To Confuse People Who Read Too Much Into The Lyrical Meanings Of Beatles Songs Which Annoyed Him. Many Lines Refer To Earlier Beatles Songs Including "Strawberry Fields Forever" "I Am The Walrus" "Lady Madonna" "The Fool On The Hill" And "Fixing A Hole". The Song Also Refers To The "Cast Iron Shore" A Coastal Area Of South Liverpool Known To Local People As "The Cazzy". Lennon Dismissed Any Deep Meaning To The Mysterious Lyrics I Threw The Line In—"the Walrus Was Paul"—just To Confuse Everybody A Bit More. It Could Have Been "the Fox Terrier Is Paul". I Mean It's Just A Bit Of Poetry. I Was Having A Laugh Because There'd Been So Much Gobbledygook About Pepper—play It Backwards And You Stand On Your Head And All That. The Song Was One Of Several Recorded As A Demo At George Harrison's Esher Home In 1968 Before The Recording Sessions For The Beatles. The Esher Demo Was First Released On Anthology 3 1996 And The 2018 Deluxe Edition Of The Beatles. Anthology 3 Also Included An Alternate Version That Contained Various Sound Effects Rather Than The String Arrangement. This Is The First Track On 'The Beatles' To Feature Ringo Starr On Drums. Starr Briefly Left The Group During Recording Sessions For The Album And Drums On Both "Back In The U.S.S.R." And "Dear Prudence" Were Played By Paul McCartney.