The tax targeted non-primary residences in New York City valued over $5 million, plus co-ops worth $1 million or more. Mayor Zohran Mamdani built the surcharge into his 2027 fiscal year budget as a way to help close the city's budget gap, and Gov. Kathy Hochul had backed the idea.

Mamdani took office in January promising to govern as a democratic socialist, campaigning on making the city more affordable for everyday New Yorkers. The pied--terre tax was one piece of that plan, aimed at owners of high-value second homes rather than primary residents.

The ruling strips a chunk of revenue from that budget and lands as an early legal check on Mamdani's first-term agenda. Owners of luxury secondary homes and expensive co-ops avoid the surcharge for now. The city still has to figure out how to make up the difference elsewhere. It also raises the question of whether Mamdani's other affordability plans face similar court challenges before they take effect.