Ryan Guzman, who stars opposite Jennifer Lopez in the thriller The Boy Next Door, has taken it all off for an upcoming Cosmopolitan issue.

The 27-year-old’s sexy photo shoot will be featured in Cosmopolitan U.K.’s March issue.

In the mag, Guzman debunks the rumors that he and Lopez are dating. He admitted that when he was first asked to do the film he was a bit star-struck by his beautiful co-star. However, he knew he had to keep things professional and so he did.

"She's a co-worker and now she's a friend,” he said. “Everything worked out perfect."

Guzman’s steamy spread was actually done for a great cause, not just for our viewing pleasure. It was to raise awareness of male cancers for Cancer Research UK.

"I lost my grandfather to cancer when I was 13. It's very serious; it's affected my life and I will do everything I can to back Cancer Research,” he said.

E Online noted that other men who haven stripped down for the cause include model Tyson Beckford, Homeland actor Diego Klattenhoff, Travel Channel’s Adam Richman, Revenge's Barry Sloane and U.K. reality star Mark Wright.

The Boy Next Door debuted in theaters on Jan. 23 and so far has grossed around $20 million at the box office despite being slammed by critics.

image courtesy of Roger Wong/INFphoto.com