The invention relates to a synthetic gene coding for the Gag protein of the human immunodeficiency virus HIV-1. Said gene may optionally be fused with one or more other HIV sequences. The invention may notably be used within the scope of obtaining anti-HIV vaccines.