After feeding the M9 motorway at Junction 4 which also links to the A801 towards Bathgate, it then runs eastwards through Linlithgow in West Lothian, turns northwards and ends where it meets the A904 road, just north of an eastbound-only connection with Junction 3 of the M9.