A Connecticut judge issued a gag order Thursday in the Jennifer Dulos case, barring her estranged husband and lawyers from blabbing to the media.

The order applies to prosecutors, Fotis Dulos’ attorney, “as well as their respective associates,” and Fotis himself and his “immediate family and associates.” It also extends to witnesses and members of law enforcement.

They are prohibited from making comments about “the character, credibility, reputation or criminal record of a party, victim or witness” or discussing whether a guilty plea is in the works, according to Connecticut Superior Court Judge John Blawie’s order.

It also bars them from discussing results of “any examination or test or the refusal or failure of a person to submit to an examination or test.”

In court papers earlier this month, a lawyer for Jennifer’s estranged husband, Fotis Dulos, requested that her mother, Gloria Farber, undergo a psychiatric examination. Fotis’ lawyer, Norm Pattis, has also insinuated in previous comments that Jennifer suffered from mental health issues.

Blawie said the order — which is in effect until a final verdict is reached in the case — “is the least restrictive means of ensuring and safeguarding the right to a fair trial for the benefit of the defendant, the state and the public.”

The jurist also issued a warning to Pattis — who once accused Jennifer of taking a page out of the book “Gone Girl” by staging her death in an effort to frame Fotis.

“Counsel for the defendant may make a statement that a reasonable lawyer would believe is required to protect his client from the substantial undue prejudicial effect of recent publicity not initiated by the defedant’s counsel or the defendant, his family or associates,” Blawie wrote.

The gag order comes the same day Fotis was in court to plead not guilty to a new charge of tampering with evidence in connection with Jennifer’s disappearance.

Pattis told the Stamford Advocate that Blawie’s order “merely restated existing law.”

“It changes nothing,” he told the outlet.