The prevalence of hepatitis B virus (HBV) infection was determined using sera from persons participating in the second National Health and Nutrition Examination Survey, conducted from 1976 to 1980. Of 14,488 scientifically selected participants aged 12 to 74, 821 had evidence of past or present infection with HBV. In the white population, the weighted estimate of hepatitis B infection was 3.2 percent (95 percent confidence interval, 3.1 to 4.2). A steady increase with age was seen; by ages 65 to 74, the prevalence was 6.9 percent (95 percent confidence interval, 5.2 to 8.5). In the black population, the overall weighted estimate of prevalence was 13.7 percent (95 percent confidence interval, 11.6 to 15.8). In this racial group, there was a dramatic increase with age, with the oldest age groups having a prevalence of 39.6 percent (95 percent confidence interval, 29.1 to 50.0). In both racial groups, there was a low prevalence of infection in young children that began to rise between ages 12 and 18. In a multivariate analysis of factors associated with infection, there was an interaction of race with age; therefore, the odds ratio for race is presented for four ages. This ratio ranged from 3.0 (95 percent confidence interval, 1.8 to 4.2) for a 15-year-old to 8.2 (95 percent confidence interval, 6.5 to 10.3) for a 70-year-old. These relative odds estimates were not substantially affected by adjustment for the available information on risk factors for HBV infection. The results of this study in a representative sample of the United States population show that adult black Americans are at high risk for hepatitis B infection. Other independent predictors of HBV positivity include male sex; residing in the South, Northeast, or West; residing in a city of 250,000 or more people; serving in the armed forces; living below the poverty level; and having a positive treponemal test for syphilis. These data suggest that the immunization practices for controlling this disease should be re-examined.