The city is being sued for dishing out bad bird in a Brooklyn homeless shelter.

Four shelter residents say they became violently ill with food poisoning after the city-run Fort Greene Shelter served expired chicken salad two weeks ago — and filed a notice of claim Thursday that they’re planning to slap the city with an $8 million lawsuit.

The residents — Kenneth Gilmore, Pierre Landro, Rose Rodriguez and Mauricio Caballero — claim the salad they were given had a forged expiration date, according to the court documents.

Food packaging indicated that the chicken had expired on Sept. 20 — more than a month before it was served at the shelter on Thursday, Oct. 24, according to their claim.

But a phony sticker had been placed over the original label, marking the chicken as edible through Oct. 31, they claim.

“Intentionally falsifying a food expiration label by covering it over with a label with a false expiration date recklessly endangers the health of members of the public,” said the defendants’ attorney Sanford Rubenstein.

The salad came from Sally Sherman Food, based out of Westchester, according to Rubenstein.

A Department of Homeless Services spokesperson said the city has stopped receiving food from Sally Sherman as it reviews the incident. The city believes the foul food was an isolated case that has not impacted other shelters.

“Protecting the health and well-being of those we serve is our top priority — and this incident was completely unacceptable,” the DHS spokesperson said.

“We are glad those impacted were connected quickly with medical care and are in good health. We sincerely apologize for the occurrence and will hold the vendor that provides food at this location fully accountable. Pending our ongoing review, we are not accepting food from Sally Sherman until further notice.”

The city’s Law Department declined to comment.