The British festival, which has been cancelled for the last two years due to the coronavirus pandemic, will return with the former Beatle as its Saturday night headliner, his second time topping the Pyramid stage bill after a performance in 2004.
The show will come exactly a week after he celebrates his 80th birthday and more than 60 years of making music.
In May, he said his tour and Glastonbury performance this year will be full of hits from his time in The Beatles and Wings, as well as some of his best-known solo material.
Speaking during rehearsals, he quipped that most of the audience “have paid good money, have brought their mums and dads” and do not want to hear his “deep cuts”.
McCartney’s performance is expected to attract an especially large crowd and could rival those of The Rolling Stones in 2013 and Adele in 2016.
The Stones will spend this Saturday performing to tens of thousands of fans at the British Summer Time festival in London’s Hyde Park.
Glastonbury, which takes place in Somerset, England, will also play host to its youngest-ever solo headliner in the form of 20-year-old Billie Eilish on Friday night.
Increase your impact by having your donations doubled
When you commit to a regular weekly, fortnightly or monthly tax-deductible donation to InReview, each scheduled donation will be matched by Creative Partnerships Australia. That means you’re supporting twice as many InReview stories to be commissioned, edited and published.