HIV-1 and HIV-2 have been detected in Cape Verde since 1987, but little is known regarding the genetic diversity of these viruses in this archipelago, located near the West African coast. In this study, we characterized the molecular epidemiology of HIV-1 and HIV-2 and described the occurrence of drug resistance mutations (DRM) among antiretroviral therapy naïve (ARTn) patients and patients under treatment (ARTexp) from different Cape Verde islands. Blood samples, socio-demographic and clinical-laboratory data were obtained from 221 HIV-positive individuals during 2010–2011. Phylogenetic and bootscan analyses of the pol region (1300 bp) were performed for viral subtyping. HIV-1 and HIV-2 DRM were evaluated for ARTn and ARTexp patients using the Stanford HIV Database and HIV-GRADE e.V. Algorithm Homepage, respectively. Among the 221 patients (169 [76.5%] HIV-1, 43 [19.5%] HIV-2 and 9 [4.1%] HIV-1/HIV-2 co-infections), 67% were female. The median ages were 34 (IQR?=?1–75) and 47 (IQR?=?12–84) for HIV-1 and HIV-2, respectively. HIV-1 infections were due to subtypes G (36.6%), CRF02_AG (30.6%), F1 (9.7%), URFs (10.4%), B (5.2%), CRF05_DF (3.0%), C (2.2%), CRF06_cpx (0.7%), CRF25_cpx (0.7%) and CRF49_cpx (0.7%), whereas all HIV-2 infections belonged to group A. Transmitted DRM (TDRM) was observed in 3.4% (2/58) of ARTn HIV-1-infected patients (1.7% NRTI, 1.7% NNRTI), but not among those with HIV-2. Among ARTexp patients, DRM was observed in 47.8% (33/69) of HIV-1 (37.7% NRTI, 37.7% NNRTI, 7.4% PI, 33.3% for two classes) and 17.6% (3/17) of HIV-2-infections (17.6% NRTI, 11.8% PI, 11.8% both). This study indicates that Cape Verde has a complex and unique HIV-1 molecular epidemiological scenario dominated by HIV-1 subtypes G, CRF02_AG and F1 and HIV-2 subtype A. The occurrence of TDRM and the relatively high level of DRM among treated patients are of concern. Continuous monitoring of patients on ART, including genotyping, are public policies to be implemented.