Glastonbury 2017 will run from 21-25 June at its traditional home of Worthy Farm, Somerset.
In an Instagram clip, Sheeran confirmed that he is “headlining Glastonbury on the Sunday night, which is awesome”.
See the singer announce the news in the video with the help of some cows below:
Sheeran made his Glastonbury debut in 2011, playing on the BBC Introducing stage. He returned with a Pyramid Stage slot in 2014.
Browse Ed Sheeran Merch in the NME Store.
As well as the headliners, Wiley has confirmed himself for the festival and The Avalanches have also leaked that they would be performing. Country icon Kris Kristofferson also looks set to play.
The full Glastonbury line-up will be announced at a later date.