In human immunodeficiency virus type 1 (HIV-1), an interaction exists between the in vivo evolution of Gag protein and protease to escape from antiretroviral drug selective pressure. Therefore, it was decided to develop a genotypic assay for the amplification and sequencing of HIV-1 gag and protease. As the HIV-1 pandemic is characterised by a large genetic diversity, the assay developed was evaluated on a panel of 28 genetically divergent samples belonging to the following subtypes A1, B, C, D, F1, F2, G, H, J, CRF01-AE, CRF02-AG and CRF13-cpx. The assay displayed a detection limit ranging between 500 RNA copies/ml and 5000 RNA copies/ml plasma. Full-length sequences could be obtained for 25 samples. The population sequences of the three other samples lacked a part of the sequence because of heterogeneous signal, probably due to the presence of quasi-species with insertions/deletions of a different length.