The "Shape of You" singer was announced on Thursday as the closing headliner behind Radiohead, who are billed to kick off the U.K. festival on June 23, while the Foo Fighters will lead the second night.
The U.K. native made his first appearance at Glastonbury in 2014, although this year marks his first-ever headlining set.
Sheeran, who is currently on tour promoting his third studio album, Divide, recently dished to ET about finding "new things to write about" since hooking up with girlfriend Cherry Seaborn.
"All my other albums have been about heartbreak and I'm just not in that place," Sheeran shared at the iHeart Media Awards earlier this month. "I had to find new things to write about, so I guess I dwelled on my family a bit."