The 29-year-old said it was "so crazy" to be headlining the festival having played at the first ever edition of the Victoria Park event in 2018.
She performed a set which drew heavily on her latest album Virgin (2025).
Midway through her set she said: "I think this is literally the best line-up I've ever been part of.
"It's crazy, I went around this afternoon and watched people and I was really struck by what this group of artists are doing.
"I felt so honoured to be a part of it.
"This group of artists that you've seen today, have been trying to imagine a new world, it's like I've been trying to find new ways to live, new ways to see, I really felt that."
Lorde, wearing an all black waterproof outfit, opened with Royals from her self-titled 2013 debut album, before moving on to Virgin's lead single What Was That.
For Liability, video footage of Lorde's early days was projected on to her shirt, while a banner which read "I don't belong to anyone 2013" was passed out into the crowd during David.
She finished with Ribs, one of her earliest tracks, on a small stage in the middle of the VIP section of the crowd, who jumped along with her.
Lorde released her first studio album in almost four years in June last year. On the day of the album's release she surprised fans with a secret set at Glastonbury Festival, where she performed Virgin in full.