An Upper West Side landlord that offered more than half a million bucks to get a longtime tenant out of its building is refusing to pay up after the man’s death.

Walter Blomeyer lived for decades in his tiny studio at 350 W. 71st St., one of three adjoining single-room-occupancy buildings owned by Icon Realty Management.

Icon, which is planning to convert the building to luxury housing, offered $525,000 to Blomeyer if he hit the road — a deal he accepted, according a Manhattan Supreme Court lawsuit filed by his estate.

Icon modified the deal, paying Blomeyer the initial $300,000 and letting him live in one of the adjacent SRO buildings rent-free for a year before issuing the final $225,000, his estate says in court documents.

Boymeyer, who worked as a black-car driver, died in February of a heart attack, according to lawyer Ted Poretz.

“This is bullying,” Poretz fumed. “There’s nothing at all in this agreement that says, ‘We don’t have to pay him when he dies.’ ”

A lawyer for Icon disputed the claims in the suit.

“The agreement said nothing about his estate benefiting,” lawyer Mitch Kossoff told The Post. “His estate is entitled to nothing.”