Keyser is a city in and the county seat of Mineral County, West Virginia, United States. It is part of the Cumberland, MD-WV Metropolitan Statistical Area. The population was 5,439 at the 2010 census.