Objective: HIV-infected patients had a higher prevalence of insulin resistance (IR) and risk of diabetes mellitus (DM) than that observed in healthy controls, but there are no data about the current prevalence considering the changes in HIV presentation and the use of newer antiretroviral drugs. Design: Longitudinal study which involved 265 HIV patients without DM, receiving first (nZ71) and advanced lines of antiretroviral therapy (nZ194). Methods: Prevalence of IR according to clinical and anthropometric variables, including dual X-ray absorptiometry (DXA) scan evaluation. IR was defined as homeostasis model assessment of IR R3.8. Incident DM was assessed during the follow-up. Results: First-line patients had a short time of HIV infection, less hepatitis C virus coinfection, and received mainly an efavirenz-based regimen. Overall, the prevalence of IR was 21% (55 patients, 6% in first-line, 27% in pretreated). In a logistic regression analysis, significant associations were found between the waist/hip circumference ratio (RR 10; 95% CI 1.66-16; P!0.01, per unit), and central fat in percentage (RR 1.08; 95% CI 1.01-1.17; PZ0.04, per unit) as evaluated by DXA, and IR. During 770.8 patient-years, DM was diagnosed in 8% (22 patients), mostly in pretreated patients (10 vs 4%; PZ0.1). Thus, the overall rate of incident DM was 2.85 per 100 person-years, mostly in previous IR (10.39 vs 0.82/100 person-years; PZ0.01). Conclusions: A lower prevalence of IR is observed in the current HIV-infected patients with fewer risk factors and receiving newer antiretroviral drugs. IR continues to identify patients at high risk for developing DM in the short term.