While Luke Bryan was rocking a recent concert — gyrating and all — he had a minor wardrobe malfunction. It wasn't quite Janet Jackson at Super Bowl XXXVIII, but in country talk, one might say Bryan left his barn door open.

The incident came up while Bryan was on The Tonight Show Starring Jimmy Fallon, and Fallon had video. The host showed Bryan a clip from his concert, in which he was doing his usual dance moves before fans in the front row broke the news that his fly was open. In the clip, Bryan stops, zips up his fly, slaps hands with the fan and then hands her what appears to be a beer from stage.

The singer then looks like he had a good laugh onstage and went into detail about the story with Fallon.

"In all my years — never. I've fallen off stages, forgot words, said the wrong city — first time, fly down," Bryan admits, laughing. "I look down and my jacket or something that I had on was taking all of the paint off my guitar. I'm like, 'Oh my God, my jacket's destroying my guitar so I ran off, did a wardrobe change and through that, just forgot one small detail ... not small detail, you know what I mean."

Bryan released his album, the 15-track What Makes You Country, on Dec. 8 and is also an upcoming judge on American Idol, which will air in March 2018 on ABC. Bryan will be joined by host Ryan Seacrest and fellow judges Lionel Richie and Katy Perry on the show.

Luke Bryan's Hip Shake Is the Best in Country! ... Or Is It?

41 Reasons to Love Luke Bryan