The aim of this study was to analyze the variability of the HLA-II system in a series of patients with chronic hepatitis B, chronic hepatitis C and acute hepatitis B to know whether there is any relationship between the polymorphism of the HLA system, the different types of hepatitis and the evolution of the infection. HLA-II antigens were determined by a PCR technique in serum samples of 24 controls, 22 cases of chronic hepatitis C, 38 cases of chronic hepatitis B and 11 with acute hepatitis B. The prevalence of the HLA-DR4 antigen was lower in the cases of chronic hepatitis B (10.5%) and C (13.6%) than in the controls (33.3%), particularly the DRB1*0401 allele (p = NS). The prevalence of HLA-DR6 was similar in chronic hepatitis B (42.1%) and acute hepatitis B (45.5%). Predominance of the DRB1*1301 and DRB1*1302 alleles were, however, observed in acute hepatitis B (36.4%) versus chronic hepatitis B (13%). These data suggest that immunologic factors such as HLA antigens may influence in the susceptibility to infection by HBV and HCV. The use of PCR techniques which discriminate between the different alleles of the HLA antigens may provide better knowledge of the immune response.