Two Queens cops were indicted Thursday for repeatedly lying in court documents and court proceedings about a 2014 gun arrest.

Officers Sasha Cordoba and Kevin Desormeau arrested a 38-year-old Washington Heights man for gun possession, and then falsified a report that the unnamed man had threatened another person with the weapon.

The cops, both 33, were charged with official misconduct and offering a false instrument for filing Thursday. Cordoba was also hit with first-degree perjury charges.

Cordoba is accused of repeatedly lying about the incident to her supervisor, to an ADA, in a criminal court complaint, and then in testimony before a grand jury.

Subsequent interviews, surveillance footage, and texts sent by Desormeau to another later showed that the duo wasn’t being truthful, authorities said.

Charges against the man they arrested have since been dismissed.

“These defendants are charged with fabricating the details of an arrest—seemingly out of thin air—in gross violation of their training, NYPD protocol, and the law,” Manhattan District Attorney Cyrus R. Vance said in a statement. “When members of law enforcement commit misconduct, they threaten the credibility of our work and the safety of the citizens whom we are sworn to protect.”

The duo were released without bail, and are due back in court April 19.