Former New York City police detective Louis Eppolito exits Brooklyn Federal Court.AP

An appeals court has upheld the murder conspiracy convictions of two former NYPD detectives who led double lives as hitmen for the mob.

In an opinion Friday, the 2nd U.S. Circuit Court of Appeals found “no merit” to the appeal by “Mafia cops” Louis Eppolito and Stephen Caracappa.

Eppolito had claimed he was denied effective counsel. Caracappa argued he was convicted on faulty evidence.

Eppolito and Caracappa were found guilty of secretly being on the payroll of Luchese crime family underboss Anthony “Gaspipe” Casso starting in the 1980s. Prosecutors said they were involved in eight murders.