Landlords will have to insulate their houses and install smoke alarms when a bill that has just passed its first reading becomes law.
Housing Minister Nick Smith's Residential Tenancies Amendment Bill won unanimous support.
"It's an important bill that will make homes warmer, dryer and safer for tens of thousands of New Zealanders," Dr Smith said.
"I welcome the broad support across parliament for a bill that recognises the strong link between the quality of housing and the health and wellbeing of families."
The insulation rules apply to social housing from July 1 next year and to private rental properties from July 1, 2019.
And from July 1 next year all landlords will have to disclose in tenancy agreements the extent of insulation in their properties.
Smoke alarms will have to be installed in all rental homes by July 1 next year.
The Property Investors Federation says the conditions are reasonable and won't mean excessive rent increases.