Background: Fertility is associated with the desire to have children. The impacts of HIV and antiretroviral therapy (ART) on fertility are well known, but their impacts on the desire for children are less well known in Tanzania. We used data from two studies carried out at different periods of ART coverage in rural Tanzania to explore the relationship between HIV infection and fertility desires in men and women. Methods: We conducted secondary data analysis of the two community-based studies conducted in 2012 and 2017 in the Magu Health and Demographic system site, in Tanzania. Information on fertility desires, HIV status, and social-economic and demographic variables were analyzed.Fertility desire was defined as whether or not the participant wanted to bear a child in the next two years. The main analysis used log-binomial regression to assess the association between fertility desire and HIV infection. Results: In the 2012 study, 43% (95% CI 40.7-45.3) of men and 33.3% (95% CI 31.8 - 35.0) women wanted another child in the next two years. In 2017 the percentage rose to 55.7% (95% CI 53.6 - 57.8) in men and 41.5% (95% CI 39.8 - 43.1) in women. Although fertility desire in men and women were higher in HIV uninfected compared to HIV infected, age-adjusted analysis did not show a statistical significance difference in both studies (2012: PR=1.02, 95%CI 0.835 - 1.174, p<0.915 and 2017: PR = 0.90 95%CI 0.743 - 1.084 p= 0.262). Discussion: One-third of women and forty percent of men desired for fertility in 2012, while forty percent of women and nearly half of men desired for fertility in 2017. The data showed fertility desire, in 2012 and 2017 were not related to HIV infection in both periods of ART coverage.