Dropping down almost to his knees, Styles went wide-eyed as his tan leather pants ripped.
He continued on with the performance, smiling in disbelief, and later covered the hole with a rainbow flag.
“My trousers ripped. I feel it necessary to apologise to a certain few of you right down in the front there,” he said.
The wardrobe malfunction happened at Styles show in Los Angeles on Thursday (Dawbell/PA)
“I mean this is a family show…I promise it’s not part of the show.”
“It’s a family show…or is it?” he added, to screams of delight from the audience.
Hollywood actress and Friends star Jennifer Aniston was among those at the show who witnessed the incident, according to photos shared on social media.
Harry Styles apologises to Los Angeles audience after ripping trousers onstage