The M77 is a motorway in Scotland. It goes from the M8 in Glasgow to Fenwick. It then carries on as the A77 into Dumfries and Galloway. The motorway is about 20 miles (32 km) long.