Human immunodeficiency viruses (HIVs) show extensive genetic variation. This feature is the fundamental cause of pathogenicity of HIVs and thwarts efforts to develop effective vaccines. To understand the mutation mechanism of these viruses, we analysed nucleotide sequences of env and gag genes of the viruses by use of molecular evolutionary methods and estimated the direction and frequency of nucleotide substitutions. Results obtained showed that the frequency of changes between A and G was extremely high and the mutation pattern of HIVs was distinct from those of nuclear genes of their host cells. This distinction may be caused by the characteristics of the reverse transcription of HIVs. The mutation pattern obtained would be helpful to construct effective antiviral drugs.