An A-list guest list of musicians, actors and activists danced until 4am at the Obamas’ last White House party, held on Friday night.

The guest list included Stevie Wonder, George and Amal Clooney, Lena Dunham, Chance the Rapper, Paul McCartney, Bruce Springsteen, Dave Chappelle, Gwyneth Paltrow, Usher, Robert DeNiro and George Lucas.

In a December interview with People magazine, Barack Obama said he and his wife, Michelle, were “going to have a big party before we leave office”.

In a video recorded at 4.33am outside the White House and posted to Instagram, Chance the Rapper declared the party “amazing”.

“They wouldn’t let us bring cameras into this shit but just know it was historic, it was black, it was beautiful, there was dancing, there was laughing, there was loving there was hugs,” the rapper said.

CNN reporter Betsy Klein tweeted updates of guests as they arrived: Tom Hanks with his wife, Rita Wilson; the model Chrissy Teigen with her musician husband, John Legend; the retired late-night TV host David Letterman, wearing a sweater.

The actor Meryl Streep arrived in a cab, followed by the producer and comedian Tyler Perry; the former basketball player Magic Johnson; the film producer Harvey Weinstein; the Saturday Night Live creator, Lorne Michaels; and the chef José Andrés. Anna Wintour, the Vogue editor, did not take questions on her meeting earlier in the day with Obama’s successor, Donald Trump.

The actor Olivia Wilde posted a selfie with her husband, Jason Sudeikis, as they left the party.

Stumbling out of the White House at 4am after a night of celebrating 8 incredible years. 😭 A photo posted by Olivia Wilde (@oliviawilde) on Jan 7, 2017 at 2:10am PST

The former Saturday Night Live actor Jay Pharoah posted a photo of himself with the musicians Usher, Wale and Kelly Rowland and the TV personality La La Anthony.

The musician Nick Jonas posted a photo before the party.

Straight off the plane to the White House... A photo posted by Nick Jonas (@nickjonas) on Jan 6, 2017 at 6:17pm PST

Reports before the party said Beyoncé and Jay Z, Oprah Winfrey and Bradley Cooper were invited, although their attendance remained unconfirmed.