Area Code 540 History:
Area code 540 was put into service. Area code 540 was created from a split of area code 703. In 2001 area code 540 was split to form area code 276.
Counties in Virginia within area code 540 include:
Harrisonburg County, Montgomery County, Roanoke County, Salem County, Staunton County, and Winchester County.
Major cities or places in Virginia within area code 540 include:
Area code 540 serves north-central Virginia including the larger cities of Blacksburg, Harrisonburg, Roanoke, Salem, Staunton and Winchester in addition to many smaller communities.