 When Salem became an independent city, by agreement with the county the Roanoke County Courthouse remained in Salem and the two localities share a jail.However, the County Administrative Offices were moved to the Cave Spring District.According to the U.S. Census Bureau, the county has a total area of , of which is land and (0.3%) is water.