The 'If I Were A Boy' singer stunned revellers by playing a number of covers during her energetic set at the world-famous music event in Somerset, South West England, as well as a collection of songs by her girl group Destiny's Child.
As she began her performance on the Pyramid stage, Beyonce told the 170,000-strong crowd: "I want you to know right now you are witnessing my dream.
"I always wanted to be a rock star and tonight we are all rock stars."
Beyonce - the first female solo headliner at the event in 25 years - sang Prince's 'The Beautiful Ones', Kings Of Leon's 'Sex on Fire' and a rendition of the Eurythmics' 'Sweet Dreams', as well as a Destiny's Child medley, but her former bandmates Kelly Rowland and Michelle Williams did not appear alongside her as had been rumoured.
She opened with 'Crazy In Love' and wowed the crowds with 'Single Ladies (Put A Ring On It), as well as latest single 'Run The World (Girls)' before closing the festival with 'Halo'.
She told the BBC: "I'm the biggest fan of U2 and I'm the biggest fan of Coldplay, they are genius, so I've spoken to both of them about my setlist. I'm so excited to share the stage with them.
"For Glastonbury to recognise that women have the power to headline, that's amazing, and I'm proud that I am the chosen woman. I am going to rock!"
Beyonce's Glastonbury set list:
'Crazy In Love'
'Single Ladies (Put A Ring On It)'
'Naughty Boy/Baby Boy'
'Happy Birthday (to "Steve")'
'Best Thing I Never Had'
'End Of Time'
'If I Were A Boy'
'Why Don't You Love Me'
'The Beautiful Ones'
'Sex On Fire'
Destiny's Child Medley
'Run The World (Girls)'
Although this adventure's premise will appeal to children, and the child within us, the film...
Mary Katherine is a regular teenage girl who somehow mysteriously appears in an enchantingly beautiful...
If only they had let Bill Condon direct Chicago instead of just writing the screenplay....
The cameo-driven, "Mission: Impossible 2"-spoofing, movie-within-a-movie, pre-title sequence of "Austin Powers in Goldmember" is the...