The association between prevalence of hepatitis B serological markers and birthplace, in a study carried out in a small rural county of S. Paulo State, Brazil, suggests different risk factors for hepatitis B between migrants and nonmigrant populations. These two groups were compared with regard to the following variables: level of education, professional occupation, number of previous hospitalizations, past history of blood transfusions and type of dental treatment. Migrants, mainly those from other states of Brazil, showed a low-level of education, a high proportion of people employed in agricultural activities, a higher number of past hospitalizations and higher exposure to blood transfusion and to more aggressive dental procedures. Associations were observed between the prevalence of serological markers and the following variables: level of education, professional occupation, number of previous hospitalizations and type of dental procedures, even though the last two associations did not justify the higher prevalences observed among migrants. The different distribution of hepatitis B markers seems to be dependent on the migrants' worse socio-economic condition, demonstrated by their lower level of education and by the predominance of secondary occupations.