The present invention provides an isolated polypeptide comprising an HIV gp120 polypeptide or soluble gp140 polypeptide stabilized in a conformation which exposes both CD4-bound and CD4-binding site epitopes. The invention also provides immunogenic compositions and methods of treating and preventing infection with HIV.