The A31 is a major trunk road in southern England that runs from Guildford in Surrey to Bere Regis in Dorset. Its best-known section is the Hog's Back, a ridge forming part of the North Downs between Guildford and Farnham in Surrey.