Salem is an independent city in Virginia, USA, bordered by the city of Roanoke to the east but otherwise adjacent to Roanoke County. It is part of the Roanoke Metropolitan Statistical Area. The population was 24,802 according to 2010 U.S. Census. While Salem is politically separate from Roanoke County, the Roanoke County courthouse is located there ; historically, Salem was the county seat of Roanoke County, however the executive government offices for the County are now located in an unincorporated section of the County. Salem and Roanoke County still share jail facilities but are otherwise politically separate. Residents of Salem do not pay taxes to Roanoke County. The Bureau of Economic Analysis combines the city of Salem with Roanoke County for statistical purposes.