The prevalence and genotypes of hepatitis B virus (HBV) have distinct geographical distribution. In Brazil, some African-descendants have been maintained as small isolated communities since the slavery period. In this study, HBV infection among these communities of African origin was examined. Individuals (1,058) living in 12 communities were interviewed and serum samples screened for the presence of HBV markers. HBsAg-positive sera were tested for HBV DNA by PCR and positive samples were genotyped by restriction fragment length polymorphism (RFLP). The overall prevalence of HBV infection was 19.8% (95% CI: 17.5-22.3), ranging from 5.5% to 42.4%, depending on the communities studied. Multivariate analysis of risk factors showed that increasing age, family history of hepatitis, and sexual activity were associated significantly with this infection. HBsAg was detected in 23/1,058 (2.2%) individuals. HBV DNA was present in 2/2 of HBeAg-positive serum samples and in 18/21 (85.7%) anti-HBe-positive samples. All HBV isolates belonged to genotype A, subtype Aa. Three RFLP patterns were identified: AI (17 isolates), AIV (1 isolate), and AVI (2 isolates). These findings suggest a common introduction of HBV during the slave trade from Africa to Brazil.