Metabolic-dysfunction-associated fatty liver disease (MAFLD) is a comorbidity that generally increases in people living with HIV (PLWH). This condition is usually accompanied by persistent inflammation and premature immune system aging. In this prospective cohort study, we describe a straightforward methodology for quantifying biomarkers of aging, such as DNA methylation and telomere length, in PLWH and in the context of another relevant condition, such as MAFLD. Fifty-seven samples in total, thirty-eight from PLWH and nineteen from non-PLWH participants with or without MAFLD, were obtained and subjected to DNA extraction from peripheral blood mononuclear cells (PBMCs). Global DNA methylation and telomere length quantification were performed using an adapted enzyme-linked immunosorbent assay (ELISA) and qPCR, respectively. The quantification results were analysed and corrected by clinically relevant variables in this context, such as age, sex, and metabolic syndrome. Our results show an increased association of these biomarkers in PLWH regardless of their MAFLD status. Thus, we propose including the quantification of these age-related factors in studies of comorbidities. This will allow a better understanding of the effect of comorbidities of HIV infection and MAFLD and prevent their effects in these populations in the future.