Hamlin, originally named "Hamline," is a town in Lincoln County, West Virginia, United States, along the Mud River. The population was recorded as 1,142 at the 2010 census. It is the county seat of Lincoln County. As of the 2010 census, the MSA had a population of 287,702.