Nick Kroll accidentally splits his pants on 'Jimmy Kimmel Live': Watch

Nick Kroll's pants did a comedy bit of their own on Jimmy Kimmel Live on Wednesday night.

The 40-year-old comedian sat down with host Kimmel to discuss his new film, Uncle Drew -- where he plays the self-identified "token white guy" in the comedy, which also stars NBA players Kyrie Irving, Nate Robinson, Reggie Miller, Chris Webber and Shaquille O’Neal. While recounting getting the chance to play hoops with Irving, Kroll's pants split right down the middle.

"I got to play basketball against him. You don't think I'd hold up well against Kyrie?" he asked the laughing crowd. "I was literally like, 'I know I'm not in the NBA, but, you know, I was pretty good on my Jewish day school team.' I was like, 'I'm going to hold my own.'"

Kroll then recalled playing some decent defense and even scoring a layup on Irving, but his cockiness didn't last long — neither in the story he was telling nor on the stage with Kimmel.

"So now I'm cocky, I'm going back on defense and I'm like, 'I got Kyrie. I got Kyrie.' I'm hitting the ground and then," Kroll started, bending over to act out a motion before suddenly announcing, "I just fully split my pants!"

The giggling crowd and Kimmel both had a laugh at Kroll's expense, while the comedian turned it into a joke of its own.

"Wouldn't it have been amazing if there was a full-on poop stain?" he quipped. "So, basically I did the physical equivalent of splitting my pants playing defense against Kyrie."

Kroll continued his self-deprecating humor following the show on Instagram.

"And thanks to my stylist @jeanneyangstyle not only for the pants that split but for sending me these beautiful pics taken right after they split on #jimmykimmel," Kroll wrote alongside photo collage of his split pants.

ET recently caught up with Kroll, and he talked all about Beyonce and JAY-Z's surprise Everything Is Love album dropping over the weekend.

"I'm just happy that I've been paying $12 a month for Tidal and forgotten about it and then I was like, 'Alright! OK!'" Kroll joked.


Stephen Colbert and Nick Kroll's #PuberMe Campaign Hits $1 Million With the Help of Lin-Manuel Miranda

EXCLUSIVE: John Mulaney and Nick Kroll on 'Oh, Hello,' Whoopi Goldberg and Ghosts

EXCLUSIVE: Nick Kroll Wants Bernie Sanders to Cameo in 'Oh, Hello on Broadway'