Changes to the Resource Management Act, making it easier to build more medium density housing in the country's biggest cities, has passed its final reading in Parliament.
Labour and National worked together on the legislation.
The only party who voted against the bill was ACT, arguing it will do nothing to solve the housing crisis.
Here's political reporter Charlie Dreaver.