Topsham is a town in Sagadahoc County, Maine, United States. Its population was 8,784 at the 2010 census. It is part of the Portland–South Portland–Biddeford, Maine metropolitan statistical area. Topsham is where the Topsham Fair happens every year.