About Area Code 540
- Region Code
- 540
- City
- Fredericksburg
- State
- Virginia
- Population
- 1,600,000
- Largest City
- Roanoke
- Neighboring Codes
- Time Zone
- Eastern Time
Area Code 540 — Fredericksburg, Virginia
Build trust, look local, and grow your business with a phone number in area code 540. Instant activation, flexible forwarding, and clear pricing.
Choose from popular and easy-to-remember local numbers. Instant purchase and activation.
Established in 1995 after a split from 703, area code 540 became the primary numbering space for communities outside Washington’s inner suburbs, including Fredericksburg and adjacent counties. A further division created 276 in 2001, and an overlay, 826, was introduced in the early 2020s to expand numbering capacity and reinforce ten-digit dialing across the region.
Fredericksburg sits at the Rappahannock River fall line, linking the capital corridor with Virginia’s Piedmont. The city’s identity blends colonial-era river commerce and Civil War sites with a modern university town and commuter landscape. Nearby federal and military installations—Marine Corps Base Quantico, NSWC Dahlgren, and Fort Walker—anchor defense-related employment, while the University of Mary Washington and a growing health network support education and care industries. I‑95 positioning fuels distribution and professional services, and a walkable historic core sustains independent businesses, arts venues, and heritage tourism.