The speed limit in most built-up areas across Wales will be cut to 20mph from September next year.
Members of the Welsh Parliament voted 39 to 15 to approve the legislation that will affect residential roads and busy pedestrian streets.
The Welsh Government says the lower limit will cut the amount and severity of road traffic accident -related injuries and increase the number of people choosing to walk and cycle.