The M271 is a motorway near Southampton in Hampshire, England. It is 3 miles (4.8 km) long, and is one of the shortest motorways in the country. Construction began in 1973 and it opened in 1975. It provides part of the route to Southampton Docks from the M27, which in turn makes up another part of the route to the docks from the nearby M3 Motorway.