Somerville is a town in Lincoln County, Maine, United States. The population was 600 at the 2020 census. Somerville is located 15 miles east of the state capital, Augusta. According to the United States Census Bureau, the town has a total area of 22.81 square miles, of which 21.93 square miles is land and 0.88 square miles is water.