A Bronx man accused of luring a missing teen to his apartment was caught red-handed with a secret sex studio in his home after cops tracked the missing teen there, police and law enforcement sources said.

Michael Barreto, 31, was arrested at 6 a.m. Tuesday when police stormed his Gerard Avenue apartment near E. 164th Street in the Concourse neighborhood with a warrant, according to authorities.

Inside the apartment, cops found hidden cameras pointed at the bed and various sex toys, police sources said.

The Special Victims Division had gotten wind of Barreto’s sick misdeeds over the last few days while cops were searching for a 15-year-old boy, who ran off from a Kips Bay facility, police said. It was unclear what facility or who reported him missing.

Police were tipped off that the runaway was in the neighborhood and spotted the teen heading into Barreto’s building with takeout food.

The boy told cops he was heading to his friend Michael’s apartment.

The two had met when the boy was 13 while he was selling candy, the teen told cops. Barreto told the boy he was 17 years old and convinced him to come back to his apartment to smoke weed, drink alcohol and play video games, police said.

Barreto, who is expected to face sex-crimes charges, allegedly abused the boy over a two-month stretch, from July 24 to Sept. 18, cops said.

At one point, Barreto masturbated while touching the teen’s privates and told him “I want to f–k you,” cops said.

The teen told cops he pushed him away and ran off.

Barreto will face federal charges before being arraigned on local charges, cops said.

He was arrested Sept. 7 for multiple charges including acting in a manner injurious of a child and unlawful imprisonment, but was released on $10,000 bail, court records show.