The Senedd has voted in favour of the principle of creating a motorway relief road around Newport.
The non-binding motion - meaning the Welsh government does not have to obey it - was tabled by Labour, despite the party cancelling a proposed relief road when it was in office in 2019.
The Plaid Cymru government published proposals to ease congestion by closing junctions on the M4 this month.
Other options will also be considered, which could include building a new stretch of motorway or expanding the Brynglas Tunnels.