Once the West Parish of Rochester, known as Farmington Dock, the town's location on the Cocheco River was an ideal spot for sawmills. The name Farmington appears to refer to the area's fertile farmland. Farmington was also home to a prime shoe-making industry, and was one of the first places to use automated shoe-making machines instead of handwork.