A Miami judge who grew up in the Big Apple has come under fire for using the word “moolie” to describe a black defendant.

Miami-Dade Circuit Judge Stephen Millan is facing a 30-day suspension and $5,000 fine for his comments, which were made in October 2016 while speaking with the defendant’s lawyer in chambers about scheduling.

The 52-year-old admitted to using the offensive term and apologized — claiming it was something he said “intermittently as a ‘youngster’ growing up in New York.”

The word is a shortened version of “mulignan” — which is a Sicilian slur that literally translates as “eggplant,” according to court officials.

It’s used to describe black people or anyone who has a dark complexion.

Millan agreed to undergo racial sensitivity training, but Florida’s Judicial Qualifications Commission apparently didn’t feel the punishment was harsh enough. It recommended that he be suspended, though the punishment must be approved by the state Supreme Court first.

The New York native specializes in immigration and bankruptcy cases, as well as criminal defense. He has Italian and Puerto Rican roots, and was said to have been raised in both the city and Long Island.

“It was not unusual for my friends and I to occasionally use slur words when referring to others, including our friends and ourselves,” he told the JQC, according to the Miami Herald.

But officials didn’t care.

“The use of racially derogatory and demeaning language to describe litigants, criminal defendants or members of the public, even behind closed doors or during off-the-record conversations, erodes public confidence in a fair and impartial judiciary,” Judge Kristina Marx, the JQC’s chair, wrote in her ruling. “The Commission is unswayed by Judge Millan’s testimony that he gained familiarity with the use of certain racial slurs during his youth.”

Millan is overseeing cases in juvenile court until the status of his suspension is decided. He could not be reached for comment Monday night.