Borough in Blair County, Pennsylvania
Martinsburg, Pennsylvania
1,811 residents · 1 ZIP Code
- County
- Blair County
- Population
- 1,811 ▼ 3.2% since 2020 (2025 est.)
- Rank in state
- 694th largest of 1,352 places
- Land area
- 0.6 sq mi · 2,803 people/sq mi
- Time zone
- Eastern Time
- ZIP Codes
- 16662
What county is Martinsburg in?
Martinsburg is in Blair County, Pennsylvania.
What stands out in Martinsburg
- The share of residents born abroad is 0.9%, 40% lower than Blair County (1.5%).
- The poverty rate is 8.5%, 29% lower than Blair County (12%).
- The share of adults with a bachelor's degree is 29.3%, 20% higher than Blair County (24.4%).
- The median household income is $71,307, 14% higher than Blair County ($62,382).
ZIP Codes in Martinsburg
| ZIP Code | City | Population | Median income | Home value | Median age | Share in city |
|---|---|---|---|---|---|---|
| 16662 | Martinsburg | 6,069 | $73,828 | $221,400 | 41.8 | 1% of ZIP |
People in Martinsburg
Age and sex
Race and ethnicity
- White92.2%
- Black3.7%
- Two or more races2.1%
- Asian1.3%
- Hispanic or Latino0.6%
Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.
Households
655 households, 2.47 people per household on average, 68.7% family households, and 26.6% people living alone.
Income in Martinsburg
Housing in Martinsburg
Owners and renters
- Owner-occupied 70.1%
- Renter-occupied 29.9%
Types of homes
- Single-family homes 72.8%
- 2–9 unit buildings 10.9%
- 10+ unit buildings 2.1%
- Mobile homes, RVs 14.2%
Work, commute and education
How workers get to work
- Drove alone82.3%
- Carpooled3.9%
- Public transit0%
- Walked8.3%
- Bicycle0%
- Worked from home5.6%
Education, adults 25+
- High school or higher93.1%
- Bachelor's or higher29.3%
- Graduate or professional degree6.7%
How Martinsburg compares
| Martinsburg | Blair County | Pennsylvania | United States | |
|---|---|---|---|---|
| Median household income | $71,307 | $62,382 | $77,971 | $80,734 |
| Per-capita income | $31,269 | $35,639 | $44,355 | $44,673 |
| Median home value | $157,200 | $161,100 | $254,500 | $332,700 |
| Median gross rent | $860/mo | $885/mo | $1,209/mo | $1,413/mo |
| Homeownership rate | 70.1% | 72.4% | 69.3% | 65.2% |
| Median age | 42.1 | 43.1 | 40.9 | 38.9 |
| Bachelor's degree or higher | 29.3% | 24.4% | 35.2% | 35.7% |
| Poverty rate | 8.5% | 12% | 11.7% | 12.5% |
| Unemployment rate | 2.7% | 4.4% | 5.3% | 5.2% |
| Mean commute | 23 min | 20 min | 26 min | 26 min |
| Worked from home | 5.6% | 7.1% | 15.6% | 15.1% |
| Broadband at home | 86.1% | 86.2% | 89.7% | 91% |
| Foreign-born residents | 0.9% | 1.5% | 7.7% | 14.1% |
Places near Martinsburg
Area codes in Martinsburg
Martinsburg phone numbers use area codes 582 and 814. See every phone prefix, carrier and the local time on Martinsburg area codes at AreaCodeExplorer.
More about Martinsburg, PA
From our sister sites, built on the same public data.
- Schools in Martinsburg, PASchoolsInspect
- Nursing homes in Martinsburg, PANursingHomeInspect
- Sunrise & sunset in Martinsburg, PADaylight Dial
- Area codes in Martinsburg, PAAreaCodeExplorer
Martinsburg, PA: questions and answers
What county is Martinsburg, PA in?
What ZIP Codes are in Martinsburg?
What is the population of Martinsburg?
What time zone is Martinsburg in?
What is the area code for Martinsburg?
Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files. How we build these pages.