Martinsburg is a city located in West Virginia. With a 2020 population of 17,431, it is the 8th largest city in West Virginia and the 2071st largest city in the United States. Martinsburg is currently declining at a rate of -0.10% annually but its population has increased by 1.18% since the most recent census, which recorded a population of 17,227 in 2010. Martinsburg reached it's highest population of 17,525 in 2014. Spanning over 7 miles, Martinsburg has a population density of 2,629 people per square mile.
The average household income in Martinsburg is $54,965 with a poverty rate of 27.08%. The median rental costs in recent years comes to $953 per month, and the median house value is $150,500. The median age in Martinsburg is 35.3 years, 33.7 years for males, and 37.5 years for females. For every 100 females there are 83.6 males.