Joey Fatone, JC Chasez, Chris Kirkpatrick, and Lance Bass also joined Grande on a portion of her song “Break Up With Your Girlfriend, I’m Bored.”
The rest of her nearly 90-minute set also included guest appearances from Nicki Minaj, Diddy and Mase.
Despite some audio issues, Minaj powered through songs “Side to Side” and “Bang Bang” with Grande.
Diddy and Mase, meanwhile, paid tribute to The Notorious B.I.G. with a performance of “Mo Money Mo Problems.”
Grande’s Coachella performance comes after what has been a series of professional triumphs and personal trials.
In February, the singer notched her fourth No. 1 album with “Thank u, Next,” just months after the release of her third chart-topper. She also became the first artist to occupy the No. 1, No. 2 and No. 3 positions simultaneously on the Billboard Hot 100 songs chart since The Beatles did it in 1964.
In October, Grande broke off her engagement to “SNL” performer Pete Davidson. This came just one month after Grande’s ex, rapper Mac Miller, died at age 26.
Grande has also recently been open about her struggles with PTSD following the suicide bombing that killed 22 people at her concert in Manchester, United Kingdom, in May 2017.
Speaking on stage, Diddy prompted the crowd to give its headliner some love, noting, “She’s been through a whole lot. She’s still standing.”
Indeed, she has and, indeed, she is.
In all, the singer, who is the youngest performer to ever headline Coachella, sang more than 20 songs in a set bookended by “God is a Woman” and “Thank U, Next.”