Hogwarts wasn't just a school with wizards, it appears it was also a more fertile ground for models than the Next Top Model franchise.

First Harry Potter lost his robe and now Neville Longbottom has stripped off in order to shake off his fictional moniker with an underwear and swimwear shoot.

However for the 10-page photo spread in Britain's Attitude magazine, Harry Potter star Matthew Lewis has channelled his inner Mark Wahlberg, which has won him many new, discerning fans but shocked one of his biggest, with JK Rowling jokingly castigating him for stripping.

The Harry Potter creator admits she was shocked when she saw Lewis, who played Neville Longbottom in the blockbuster film franchise, wearing nothing but underpants for a spread in Britain's Attitude magazine.

In a discussion with Lewis on Twitter, Rowling also referenced Daniel Radcliffe's 2007 theatre stint in Equus, where he appeared completely naked onstage.

Lewis responded to the posts, writing, "Well, this is awkward. Sorry, Jo..."

Lewis has posed for the magazine in just his briefs ahead of the release of his next project, a romantic drama Me Before You. A film which the actor had to undertake a rigorous training regime to prepare for.

"I was excited I guess to go on the red carpet on the release of the last film and be me, and not to have to have the fat suit under my T-shirt. It was quite an exciting buzz," he said.

"I was 21, I was like "yeah, this'll be cool!" It was never meant to be a "Hey everyone, look at me!" but it was nice to be able to go and be myself.

"And then obviously a lot of attention focused on it, which I didn't expect at all. I've never considered myself to be good-looking at all. Just average."

While Lewis appears on one of the June covers, another will be sold which will feature Pietro Boselli, the math teacher-slash-model-slash-PhD student who's photo went viral last month.

WARNING: Confronting underwear shot below