Guilford is a town in Piscataquis County, Maine, United States. The town is located on the Piscataquis River and was first settled in 1806. The population was 1,521 at the 2010 census.