The Housing Acceleration Act gives local councils new powers to approve developments on green belt land in areas of severe shortage.
Opposition parties argued the bill would damage the environment and fail to deliver genuinely affordable homes.
Prime Minister Elena Vasquez said the legislation was "essential to giving young people a fair chance at home ownership."
Protests were held outside Westminster as the vote took place, with campaign groups vowing to challenge the law in court.