Gorham is a town in Coos County, New Hampshire, United States. The population was 2,848 at the 2010 census. Gorham is located in the White Mountains, and parts of the White Mountain National Forest are in the south and northwest. Moose Brook State Park is in the west. The town is crossed by the Appalachian Trail. Tourism is a principal business. It is part of the Berlin, NH–VT Micropolitan Statistical Area.
The primary settlement in Gorham, where 1,600 people resided at the 2010 census, is defined as the Gorham census-designated place and is located between the two intersections of US 2 and NH 16, along the Androscoggin River.
The community was first chartered in 1770 by Colonial Governor John Wentworth as a part of Shelburne, called "Shelburne Addition". Gorham was first settled about 1802, by Robert Sargent and others, but for years it contained little more than rocky farms, small logging operations, and a few stores and stables.