O.J. Simpson’s parole bid could be derailed because he was caught masturbating in his cell, a federal lockup no-no, according to a new report Wednesday — but another media outlet immediately debunked the claim.

The lewd behavior is strictly forbidden at Lovelock Correctional Center in Nevada, where Simpson’s been holed up on a nine-to-33-year sentence for the armed robbery of two sports memorabilia dealers, the Daily Mail said.

“O.J. is facing a disciplinary hearing after being written up for masturbating in his prison cell,” a prison source told the Mail. “He was caught by a female corrections officer making her normal rounds in late June.”

Simpson will not have undergone a disciplinary hearing by Thursday, when he’ll appear via video before a four-member parole board. But the infraction could sideline the parole proceeding — or, at worst, keep him locked up until 2020.

“While it’s not the most serious charge to be written up for in prison, it’s serious enough that any potential parole date may be delayed or his parole denied altogether,” the source said.

But law enforcement sources told TMZ that the masturbation report was bogus.

A statement from Lovelock also denied Simpson was fondling himself.

“It is against Nevada Dept. of Corrections policy to release inmate disciplinary history to the public,” the prison said. “It is also against policy to release inaccurate information. No official from our department would have released the information in question.”

Simpson already had a near-miss in terms of being sprung because of his sweet tooth, according to another report.

He was written up for a violation after he was caught munching on a cookie shortly after he began serving his sentence, USA Today reported.

A fellow prisoner who worked in food prep stole the dessert and passed them out in the unit where Simpson was housed.

“Being the loud O.J. he is, the guard in the bubble saw him eating a cookie,’’ said Jeffrey Felix, a former correctional officer at the prison. “And of course she said, ‘Where’d you get the cookie from?’ Well, O.J. doesn’t lie. He got it from a guy, a culinary worker.”

The no-nonsense guard wrote Simpson up, which he complained about the next day to Felix.

“He said, ‘I can’t have a write-up because I won’t get my parole,’” Felix recalled.

Felix managed to convince the guard to toss the violation — telling her she’d forever be known as the “Cookie Monster” if she didn’t.

“So she tore it up,” Felix said.

If Simpson, 70, is granted parole, he could be released as early as Oct. 1.