Martinsburg, West Virginia

Martinsburg, West Virginia
Interactive map of Martinsburg, West Virginia
Martinsburg
Martinsburg
Coordinates: 39°27′13″N 77°59′44″W / 39.45361°N 77.99556°W / 39.45361; -77.99556
CountryUnited States
StateWest Virginia
CountyBerkeley
Chartered1778
IncorporatedMarch 30, 1868
Government
 • MayorKevin Knowles (D)
Area
 • City
6.65 sq mi (17.22 km2)
 • Land6.63 sq mi (17.17 km2)
 • Water0.015 sq mi (0.04 km2)
Elevation
495 ft (151 m)
Population
 (2020)
 • City
18,777
 • Estimate 
(2019)
18,835
 • Density2,632.2/sq mi (1,016.31/km2)
 • Urban
43,441
 • Metro
260,070 (US: 167th)
Time zoneUTC−5 (EST)
 • Summer (DST)UTC−4 (EDT)
ZIP codes
25401–25405
Area code304 681
FIPS code54-52060
GNIS feature ID2390615
Websitecityofmartinsburg.org

Martinsburg is a city in Berkeley County, West Virginia, United States, and its county seat. 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. It is a principal city of the Hagerstown–Martinsburg metropolitan area extending into Maryland, which had 293,844 residents in 2020.