Actor Hank Azaria says the management of his Upper West Side building cheated him over a security deposit.

"Simpsons" voice actor Hank Azaria claims he's being swindled by the board of his Upper West Side building.

In court paperwork filed Monday, Azaria claims the management of his pricey prewar co-op is refusing to return a $50,000 security deposit he paid to cover potential building damage caused by renovations he finished back in July 2015.

The "Night at the Museum" star says the agreement that went along with the deposit was "comically comprehensive" but did not include mention of any electrical upgrade fees.

Nevertheless, the board socked him with an unexpected $20,000 electrical charge, he claims.

The board also sided with a downstairs neighbor who claimed the renovations caused cracks in a number of walls and ceilings but did not give Azaria or his contractors a chance to inspect the damage before presenting an invoice for $10,100.

The claim came months after the same downstairs neighbor said Azaria's renovations caused water damage to some wood floors. Azaria's contractors believed the damage likely was caused by a failure of building water valves or the improper imbedding of water lines in the floor of the apartment — but the actor still paid for the neighbor to replace the flooring, the new filing claims.

Azaria said the board found the neighbor's claims "indisputably genuine" despite the refusal to allow inspections.

"(The board's) lack of candor or skepticism would be inexplicable, were it not paired with the imagined $20,000 electrical upgrade fee which make the explication all too obvious: this is a shakedown," the new lawsuit states.

A man who identified himself as Azaria's downstairs neighbor Monday night declined to weigh in on the building battle.

"I can't give you any information about that. No comment. I'm sorry," the man said before hanging up.