Madonna’s Manhattan neighbors are fed up with her “endless litigation” against their apartment building — so they’re asking a judge to force her to cover their $140,000 legal tab.

“Plaintiff is a revered performing artist, and her reputation and success are no secret,” the residents of Harperley Hall on W. 64th St. say in a new Manhattan Supreme Court filing.

“But her unique ability to fund endless litigation, however meritless, prejudices the building’s innocent shareholders who are funding this litigation while also complying with the use provision that plaintiff seeks to invalidate for personal desires,” they gripe.

The Material Mom sued the co-op in 2016 over a rule that said her children and domestic help could not live in her $7.3 million pad unless she was “in residence” at the time.

She argued she couldn’t possibly comply because she’s a “world-renowned recording artist” who is “constantly on world tours” and who “owns many residences around the world.”

But a judge wasn’t impressed and tossed the suit in 2017.

Madonna has appealed the ruling.

Her neighbors now want her to compensate them for their lawyer’s fees noting that she has “seemingly endless means to pursue litigation, however tenuous her claims may be.”

This article originally appeared in Page Six.