West Virginia · Census place 5452060

Martinsburg, West Virginia

Martinsburg is a city in Berkeley County, West Virginia with an estimated 19,047 residents on July 1, 2024. It is the 6th largest of 100 incorporated places of 1,000+ people in the state.

Population 2024
19,047
#6 of 100 in West Virginia
Change since 2020
+1.7%
+314 people
Land area
6.6 sq mi
+ 0.02 sq mi water
Density
2,873 / sq mi
State median 1,823
Orange pin: Martinsburg. Shaded: its county. Dark pin: Charleston.

Martinsburg population, 2020 to 2024

Martinsburg added 314 residents from July 2020 to July 2024, a change of +1.7%. In the latest year it moved by +80. Among 26 West Virginia places of 5,000 or more, that growth ranks 4th; the median place changed by -3.4%. The median place of 5,000+ in West Virginia has 9,849 people, so Martinsburg is 1.9 times that size.

18.7k202018.8k202118.9k202219.0k202319.0k2024
July 1 estimates. The April 2020 estimates base was 18,739. The axis starts above zero so yearly changes are visible.

Martinsburg covers 6.63 square miles of land and 0.02 of water, for 2,873 people per square mile of land. The median West Virginia place of 5,000+ has 1,823, so Martinsburg is denser than the typical town.

What county Martinsburg is in

All of Martinsburg's residents live in Berkeley County, which had 136,287 residents in 2024. Martinsburg holds 14.0% of the county's population. The shaded shape is on the map above; dots mark the eight nearest places.

ZIP codes in Martinsburg

3 ZIP Code Tabulation Areas (ZCTAs) overlap Martinsburg by at least 10% of the ZCTA's or the city's land: 25401, 25403, 25404. ZCTAs are Census approximations of USPS ZIP code delivery areas. The list comes from the 2020 ZCTA to place relationship file, so a city that annexed land after 2020 may reach into ZIP codes not listed here.

Where Martinsburg is

The Census internal point of Martinsburg is at 39.457800, -77.978200. Charleston, the capital, is 210.2 miles WSW in a straight line. The nearest larger place is Hagerstown, MD (43,909 people), 18.6 miles away. The nearest city of 100,000 or more is Washington, DC, 64.1 miles away.

Internal point

Decimal
39.457800, -77.978200
DMS
39°27'28.08"N 77°58'41.52"W
UTM
18N 243760.1E 4371815.5N
Geohash
dr083x442
Plus code
87F4F25C+4P

Daylight in Martinsburg

At 39.46° N, Martinsburg gets about 14 h 57 min of daylight around the June solstice and 9 h 23 min around the December solstice, a swing of 5 h 35 min. Figures are sunrise to sunset from the SunCalc model for June 21 and December 21, 2026.

Places near Martinsburg

The eight nearest incorporated places of 1,000+ in West Virginia, measured between internal points. The closest is Shepherdstown, 9.4 miles away, with 1,524 people.

Questions people ask

What is the population of Martinsburg, WV?

19,047 on July 1, 2024, in the Census Vintage 2024 estimates. That is up 314 (1.7%) from 18,733 in July 2020.

What county is Martinsburg in?

Berkeley County. All of its residents live in that county.

What ZIP codes cover Martinsburg?

3 ZIP Code Tabulation Areas overlap it by at least 10% of either area: 25401, 25403, 25404.

How far is Martinsburg from Charleston?

210.2 miles (338.3 km) in a straight line, heading WSW from Martinsburg.

What is the nearest larger city to Martinsburg?

Hagerstown, MD, with 43,909 residents, 18.6 miles away between internal points.

Sources and data as of

Data as of: Census Vintage 2024 subcounty estimates (July 1, 2024), 2024 Gazetteer places, 2020 ZCTA to place relationship file.

  1. 01Census Vintage 2024 subcounty population estimates
  2. 02Census 2024 Gazetteer, places
  3. 03Census 2020 ZCTA to place relationship file
  4. 04Census 2024 cartographic boundary file, counties (1:5,000,000)

How every number is computed: methodology. Spotted a wrong figure? Report an error.