Under the new law, the landlord would have to apply to the Tenancy Tribunal with three examples of anti-social behaviour over three months.
It also allows victims of family violence to end a tenancy with two days' notice.
National voted against the legislation, with MP Alfred Ngaro saying it should be called the "I hate the landlords bill".
Associate Housing Minister Kris Faafoi said the law change would ensure the nearly one third of New Zealanders who lived in rental properties could set down roots in their community.
"This bill aligns New Zealand's rental laws with the present day realities of renting in New Zealand, it ensures there are appropriate protections in place for both renters and for landlords."
- RNZ