Two female teachers who were infamously caught making out in a Brooklyn high school now claim they’re getting screwed — by their bosses.

Sapphic schoolteachers Cindy Mauro and Alini Brito were fired, but then rehired by a reluctant Department of Education, after their steamy after-hours classroom shenanigans at James Madison High School in 2009.

The two have already filed suit against the city for back pay — but now they are arguing in court papers that they also unfairly lost their seniority rights, which affects their pay, and have been put in dead-end teaching positions.

French teacher Mauro, 39, was “unlawfully” reassigned to the absent-teacher reserve and substitutes in a different school every three weeks, giving her “the status of a vagabond,’’ according to court papers. She earns $79,654 a year.

“Because Mauro has provided educational instruction outside of her permanent certificate for French, grades 7-12, she cannot be properly observed and evaluated,’’ the court documents state.

“Thus, Mauro cannot earn any salary increases,” according to the papers, filed in Manhattan Supreme Court earlier this month.

State education officials also have placed a “discipline” hold on her application for an early-childhood education certificate, the lawsuit says.

Meanwhile, Brito, 35, a Spanish instructor, complains that while permanently reassigned to the Urban Assembly School for Criminal Justice in Borough Park, Brooklyn, she fears she won’t be able to renew her teaching license because the state is investigating her “moral character,” according to court papers.

“Brito faces the imminent loss of her teaching certificate . . . which fits nicely with [Schools Chancellor Carmen] Fariña’s clear intention for Brito to never work as a teacher again,” the suit says.

Brito earns $66,487 a year.

The city Department of Education tried to fire both women after they sneaked away from a school musical to a third-floor classroom, where school safety agents found the romance-language teachers “partially undressed.”

An appeals panel ruled in 2014 that their ouster was too harsh a punishment, because no kids actually saw the two hooking up.

The day after the appeals ruling, Fariña “made it clearly known that she had zero tolerance for ‘this kind of behavior’ and that she would pursue all options going forward to block [their] reinstatement,” according to Mauro and Brito’s suits.

A spokesman for the city Law Department said, “The court said these teachers clearly engaged in misconduct but reinstated them mainly because students did not witness their inappropriate behavior. The city is abiding by the order.”

A state spokesman declined to comment.