Martinsburg is a city located in Berkeley County, West Virginia. Martinsburg has a 2026 population of 19,047. Martinsburg is currently growing at a rate of 0.42% annually and its population has increased by 1.68% since the most recent census, which recorded a population of 18,733 in 2020.