These wealthy condo residents are not lovin’ McDonald’s right now—and they’re blaming the city for the heartburn they’ve endured.

The board of the sleek Gramercy by Starck slapped the Dept. of Transportation with a lawsuit Wednesday to oust a pile up of buses blocking the residence because the drivers are snacking on Big Macs under nearby golden arches.

The city had notified the 200-unit high-rise at 340 E. 23rd St. last year that it planned to expand the bus stop for the M9 and M23 lines by 20 feet.

Residents were shocked when they discovered that instead of the promised minimal expansion the Transportation Dept. added 120 feet to the stop and “obliterated” four metered parking spots plus the condo’s loading zone in November.

“Sometimes it’s like a wall of buses,” a building employee told The Post. “People complain about it a lot.”

Condo board member, Dr. Aditya Mangla, said the hulking buses have “changed the character of the block” turning the sidewalk into a dark alley so that “you don’t feel safe walking into the building at night.”

Mangla added, “Essentially there is no parking or stopping in front of the building so you can’t take a cab and stop in front of the building.”

The board was never notified of the change, according to the Manhattan Supreme Court suit.

“The bus stop is now an absurdly long 205 feet,” covering a third of the block between 1st and 2nd avenues, the suit says.

“The former parking and loading spaces in front of the condominium are now either empty or – worse – they are being used as an unauthorized layover station for empty buses or other official vehicles,” attorney Steven Sladkus huffs in the court papers.

He snapped photos of bus drivers leaving empty vehicles—the M9 line ends near 23rd Street—and returning with cartons of French fries, McDonald’s bags and sodas.

The blockage has caused the residents who live in $1 million pads “extreme inconvenience” and “unnecessary hardship” the suit says.

The nearest parking spot is now 90 feet away.

The DOT has told the condo it needs the extra space for “traffic flow,” the suit says.

A city Law Department spokesman said, “We will review the lawsuit once we are served.”