Rye is a town in Rockingham County, New Hampshire, United States. The population was 5,298 at the 2010 census.
The first settlement in New Hampshire, originally named Pannaway, was established in 1623 at Odiorne’s Point by a group of fishermen led by David Thompson. An early settler in Rye was William Berry. Prior to its incorporation in 1726 as a parish of New Castle, Rye was called Sandy Beach and included land in New Castle, Portsmouth, Greenland and Hampton.
According to the United States Census Bureau, the town has a total area of 36.7 square miles (95.1 km2), of which 12.6 square miles (32.6 km2) is land and 24.1 square miles (62.4 km2) is water, comprising 65.65% of the town. The town is located on the shore of the Atlantic Ocean and includes four of the nine islands known as the Isles of Shoals, which lie approximately 10 miles (16 km) out from the mainland. The highest point in Rye is the summit of Breakfast Hill, at 151 feet (46 m) above sea level, on the town’s border with Greenland.