What County Is Harrisburg, Pennsylvania In?

Harrisburg is in Dauphin County, Pennsylvania. It is the county seat of Dauphin County. About 50,287 people live there (2020–2024 estimate). It uses Eastern Time and covers 8.12 sq mi (21 km²) of land. The nearest larger city or town is Lancaster, 35 mi southeast.

PhiladelphiaPittsburghAllentown
Harrisburg in Pennsylvania
LemoynePaxtangWest FairviewWormleysburg
Harrisburg and its neighbors (simplified outlines). Open in OpenStreetMap ↗
Population, 2020–2024 estimate
50,287 ± 51
Land area
8.12 sq mi (21 km²)
Time zone
Eastern TimeUTC-05:00 in January; UTC-04:00 in July
Elevation
334 ft 102 m, ground height at the central point
Median household income
$48,099 ± $3,987
Median home value
$124,200 ± $11,090
Median rent, with utilities
$1,062 ± $35
Homes lived in by their owners
36.6% ± 2.9 points
Metro area
Harrisburg-Carlisle, PAA principal city of the area
Water area
3.75 sq mi (9.7 km²)
State
Pennsylvania
Census place code
4232800
Coordinates (central point)
40.275891, -76.885020

These coordinates mark a central point for the area, not a street address. Population, income, home value, rent and homes lived in by their owners: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates, ± margin at 90% confidence; checked on October 13, 2026.

County boundaries in Harrisburg

For a point close to the city or county boundary, check the address with the office responsible for your form. Check a point on the county map.

Coordinates of Harrisburg

40.275891, -76.885020 is a central point for Harrisburg, not a street address. Convert these coordinates or share a map link.

Elevation in Harrisburg

334 ft (102 m), the USGS ground height at Harrisburg’s central point (3DEP terrain, 1 m grid, NAVD 88). Ground height varies across town. Check elevation at another spot.

Sunrise and sunset in Harrisburg

Longest day
15 hours 3 minutes around June 21
Shortest day
9 hours 18 minutes around December 21
Earliest sunrise
5:37 AM around June 14
Latest sunrise
7:42 AM the day before clocks go back in November
Earliest sunset
4:41 PM around December 8
Latest sunset
8:41 PM around June 27

Clocks go forward an hour on the second Sunday in March and back on the first Sunday in November, so sunrise and sunset jump an hour later in March and an hour earlier in November.

Sunrise and sunset on the 15th of each month
DaySunriseSunsetDaylight
Jan 157:28 AM5:05 PM9 h 37 min
Feb 157:00 AM5:42 PM10 h 42 min
Mar 157:19 AM7:14 PM11 h 55 min
Apr 156:29 AM7:46 PM13 h 17 min
May 155:51 AM8:16 PM14 h 25 min
Jun 155:37 AM8:39 PM15 h 2 min
Jul 155:50 AM8:36 PM14 h 46 min
Aug 156:18 AM8:04 PM13 h 46 min
Sep 156:48 AM7:16 PM12 h 28 min
Oct 157:18 AM6:27 PM11 h 9 min
Nov 156:53 AM4:50 PM9 h 57 min
Dec 157:22 AM4:42 PM9 h 20 min

Approximate times for a flat horizon at the central point; the days move by a day or so from year to year. Hills and weather can change what you see.

Time zones in Harrisburg

Harrisburg uses Eastern Time (America/New_York).

Time zoneLocal time and UTC offsetNext clock change
Eastern TimeAmerica/New_YorkUTC-05:00 in January; UTC-04:00 in July. Enable JavaScript for the live clock.Enable JavaScript for upcoming changes.

Near a time-zone line, check where you are with the time-zone finder. Your phone’s setting can differ.

ZIP Code areas, largest first

  1. 1711136,744 people
  2. 1711027,364 people
  3. 1710418,541 people
  4. 1710313,115 people
  5. 171028,118 people
  6. 171012,722 people
  7. 171200 people

7 ZIP Code areas overlap Harrisburg. People counts are 2020–2024 estimates for each whole ZIP area. Mailing ZIPs can differ; check an address with USPS ZIP Code Lookup.

Bordering areas, nearest first

Distances are straight lines between map points.

  1. Wormleysburg, Pennsylvania (borough)1.7 mi southwest
  2. West Fairview, Pennsylvania (CDP)1.9 mi west
  3. Lemoyne, Pennsylvania (borough)2.3 mi south
  4. Paxtang, Pennsylvania (borough)2.8 mi east
  5. New Cumberland, Pennsylvania (borough)3.3 mi south

Before using this answer on a form

A city boundary, a CDP and a mailing city can mean different things.

Find the county where you are now, check its ZIP area, or check the time zone where you are.

See this place on Census.gov ↗

Areas that only touch the edge

These areas meet the boundary only along a sliver. Most addresses here are not in them; for an address near the line, check with the county.