Harrisonburg is an independent city in Rockingham County, Virginia. The population was 40,468 at the 2000 census. It is the principal city of Rockingham County and is surrounded by the Harrisonburg, Virginia, Metropolitan Statistical Area. Harrisonburg is located in the Shenandoah Valley and is home to James Madison University and Eastern Mennonite University. It is the county seat of Rockingham County. The Bureau of Economic Analysis combines the city of Harrisonburg with Rockingham county for statistical purposes, while the US Census Bureau treats Harrisonburg as an independent County for census tabulation.
As of the census of 2000, there were 40,468 people, 13,133 households, and 6,448 families residing in the city. The population density was 2,304.4 people per square mile (889.8/km?). There were 13,689 housing units at an average density of 779.5/sq mi (301.0/km?). The racial makeup of the city was 84.84% White, 5.92% Black or African American, 0.19% Native American, 3.11% Asian, 0.02% Pacific Islander, 3.35% from other races, and 2.57% from two or more races. 8.85% of the population were Hispanic or Latino of any race.There were 13,133 households out of which 23.3% had children under the age of 18 living with them, 36.4% were married couples living together, 9.3% had a female householder with no husband present, and 50.9% were non-families. 28.3% of all households were made up of individuals and 8.6% had someone living alone who was 65 years of age or older. The average household size was 2.53 and the average family size was 3.00.