Convicted rapist Harvey Weinstein will get special treatment in custody — because officials fear another “Epstein incident,” sources told The Post.

Still reeling from the uproar after pedophile Jeffrey Epstein managed to hang himself in his Manhattan lockup last year, jail officials are taking extraordinary steps to monitor their newest high-profile inmate.

Weinstein will always have his own cell, will constantly have a dedicated team of correction officers with him — and could even be shipped to a facility outside the city, sources said.

“The last thing you want is another Jeffrey Epstein incident,” a jail source told The Post.

“Harvey is going to be isolated as much as possible and will always have a detail with him throughout the prison. He’s never going to be like other prisoners, able to walk down the hallway or sit in the canteen alone.”

The special measures have already started within Bellevue Hospital, where Weinstein was taken for chest pains after his conviction Monday, Joe Russo, president of the Assistant Deputy Wardens / Deputy Wardens Association, told The City.

A jail captain escorts him on every move, and the team watching him includes several members of the department’s elite emergency response unit to ensure he doesn’t try to harm himself, Russo said.

The entire jail hospital unit is shut down to eliminate any chance Weinstein could bump into other inmates, Russo told the site.

“There seems to be a Jeffrey Epstein influence here,” Russo said.

Russo suggested city officials are keen to keep the high-profile prisoner out of the city, with options being debated including a jail in Nassau, Suffolk, Westchester or even as far away as Albany.

If he does stay at Rikers, he could even get an entire housing unit just for him, Russo told The City.

“He’s very high-profile and you can’t put him with somebody else,” Russo told the site.

Sources told The Post that while options outside the city are being considered, it is far from straightforward, with state officials getting the final say.

The Correction Department declined to comment on The City’s Weinstein report.

“He’s in our custody right now,” Avery Cohen, a City Hall spokesperson, told the site.

Weinstein was convicted in Manhattan court Monday of rape and criminal sex act — which leaves him facing up to 29 years behind bars. Wherever he ends up, Weinstein should be ready — having hired a “prison consultant’’ to help prepare him for his time behind bars.

Epstein, 66, was being held in the Metropolitan Correctional Center in downtown Manhattan, awaiting sex-trafficking charges, when he was found dead the morning of Aug. 10.

Corrections officers Tova Noel and Michael Thomas have been charged with falsifying documents claiming they’d checked on Epstein and other inmates every half-hour the night he died. Both guards pleaded not guilty.