Justin Bieber & Ellen Scare Audience Members in the Bathroom

Ellen Degeneres Show

The pop star and the comedian pranked people by hiding in a bathroom stall.

While Justin Bieber might be trying to leave his bad boy image behind, that doesn't mean he's above a little lighthearted pranking.

While appearing on The Ellen DeGeneres Show, the 20-year-old pop superstar teamed up with Ellen to scare the hell out of people in the studio's bathroom.

VIDEO: Justin Bieber Continues to Apologize for Bad Behavior: 'People Often Forget I'm Human'

The segment, which Ellen titled "Bieber in the Bathroom," featured the two pranksters hiding out in a bathroom stall, startling women who walked in.

But as we quickly learn, being terrified doesn’t mean some girls won't completely freak out about meeting Justin.

At one point, even Justin gets startled by how loudly one of the fan girls screamed.

NEWS: Ellen Snaps a Birthday Selfie With Music's Biggest Superstars

To his credit, Justin seemed to have a pretty good time goofing around. Evidently, he's not as nervous as he was when he posted his famous apology video last week. Check out the video below to hear Justin talk to Ellen about ditching his undesirable past.