The did-that-really-just-happen music moment took place during Beyoncé's set. But don't think Eddie didn't have his own little surprise planned for fans earlier in the night.
Coldplay's Chris Martin joined him on stage for duets. They sang Ed's hit tune "Thinking Out Loud" and Chris' "Yellow".
Ed even took to Twitter to thank his surprise guest. Watch him sing with Queen Bey, below.
Thank you to Chris Martin for guesting tonight. Epic— Ed Sheeran (@edsheeran) September 26, 2015