The city still hasn’t paid a legal bill of more than $2 million run up defending Mayor de Blasio during investigations by state and federal prosecutors.

Kramer Levin Naftalis and Frankel LLP began was enlisted by the city in 2016 – at up to $850 an hour for partners – to represent the mayor as prosecutors sifted through his fundraising and other practices, according to documents obtained through the Freedom of Information Law.

As of Aug. 31, the tab came to $2,133,334.51 — and officials said it could go higher.

No payments have been made. Meanwhile, the law firm’s lobbying division has seen its revenues from lobbying city business skyrocket since taking on de Blasio as a client.

Mayoral spokesman Eric Phillips blamed the delay on bureaucracy.

“Payment requires [city] comptroller approval, and a series of bureaucratic steps,” Phillips told The Post. “We’re navigating that process and will pay when it’s complete.”

De Blasio initially said he’d pay the bills personally, using a defense fund.

But he reversed course in June 2017 and shifted most of his legal tab to taxpayers.

He’s on the hook for another $300,000, which he says he’ll cover without taxpayer help because it was for legal advice related to politics, not government.

But he has yet to take any steps to form a defense fund.

Probes by federal and state officials of the mayor’s fundraising — amid allegations of a pay-to-play culture at City Hall — were closed in March 2017.

Including the cost of defending mayoral aides, the total hit to taxpayers is about $14.5 million.