Anthony Weiner’s wife is taking time off from her senior job with the State Department — as well as time off from the randy former representative, The Post has learned.

While Weiner, 46, heads to an “intensive” rehab program to recover from the sexting scandal that cost him his congressional career, his 35-year-old spouse, Huma Abedin, will be relaxing at an undisclosed location.

“She is definitely taking time off away from her husband and chilling,” a source said. “And he’s going some place for at least a couple of weeks.”

Huma, who is in the early stages of pregnancy with the couple’s first child, has been seen infrequently since she returned from a trip to Africa with Secretary of State Hillary Rodham Clinton.

She returned just before the Democrat announced his decision to quit his Brooklyn-Queens seat in the House after six terms. It was also reported that she had decided to try to make their marriage work.

Huma’s family “is going to be watching her like a hawk,” the source said, “like she’s under a microscope.”

There was no immediate confirmation from the State Department of Abedin’s plans to take time off from work.

The Post reported yesterday that Weiner, once considered a front-runner to be the next mayor of New York, is going into rehab.

“It’s going to be something a bit intense,” said a House Democrat who remains in contact with him. During his agonizing final days in office, Weiner spoke regularly with a small group of congressional colleagues.

The Post also reported that Weiner is trying to remain a local political kingmaker by influencing who will receive the Democratic nomination in the special election, expected to take place on Sept. 13, for his former seat.

Some Queens Democrats in contact with County Chairman Rep. Joe Crowley said he isn’t taking Weiner’s efforts seriously, but is merely trying to humor his former colleague.

The source who disclosed Huma’s plans to be away from Weiner said his efforts to choose his successor, like his being spotted buying a bouquet of flowers for her, are “his lame attempts to deflect all of the negative publicity” he’s garnered since the sexting scandal broke.