The Edge used a video message at last night's NME Awards to confirm that the band will play the Pyramid Stage on June 24.
"I have to say there is something really special and iconic about [the Pyramid] stage," the group's guitarist said.
"We're so excited to get to play in front of the world's greatest festival audience, so we'll see you there!"
He added that he thinks Glastonbury is "more of a way of life" than a festival.
U2 were due to headline Glastonbury last year but had to pull out after frontman Bono needed emergency surgery on his back.
They join Coldplay and Beyoncé, who have already been confirmed as headliners.
Glastonbury Festival takes place between June 24 and June 26 at Worthy Farm, Somerset.