The human integral membrane protein SERINC5 potently restricts HIV-1 infectivity by inhibiting viral entry and sensitises the virus to antibody-mediated neutralisation. To eliminate the effect of SERINC5, HIV‑1 encodes the endocytic adaptor protein Nef, which redirects SERINC5 to endosomal compartments, thereby preventing its inclusion into budding viral particles. Understanding the molecular basis of retroviral restriction by SERINC5 and its down-regulation by HIV-1 Nef may aid in development of antiviral therapeutic approaches. We determined the three-dimensional structures of human SERINC5 and its ortholog from Drosophila melanogaster at subnanometer and near-atomic resolution, respectively, using cryo-electron microscopy. An extensive panel of SERINC5 mutants were tested for the ability to inhibit Nef-negative HIV-1 infectivity and localisation to the plasma membrane. The SERINC structures reveal a novel protein fold comprised of ten transmembrane helices organised into two subdomains and bisected by a long diagonal helix. Clusters of conserved residues and a lipid binding groove highlight potential functional sites. Extensive structure-based mutagenesis scan identified surface-exposed regions and the interface between the subdomains, as critical for SERINC5 restriction activity. The same regions are also important for viral sensitisation to neutralising antibodies, directly linking SERINC5 restriction activity with the remodelling of HIV-1 envelope glycoprotein. SERINC5 variants, which were not surface exposed, were unable to inhibit HIV-1 infectivity arguing that the protein must be located at the plasma membrane to exert its antiviral activity. Our structures and extensive functional data provide the first insights at the molecular level of SERINC proteins and their ability to restrict HIV-1 infection.