Martinsburg is a city in and the county seat of Berkeley County, West Virginia, United States. The population was 18,773 at the 2020 census, making Martinsburg the largest city in the Eastern Panhandle of West Virginia and the sixth-most populous city in the state. Wikipedia