Across sub-Saharan Africa, men are less likely to know their HIV status than women, leading to later treatment initiation. Little is known about how experiences with general health services affect men's use of HIV testing. We used data from a 2019 community-representative survey of men in Malawi to understand frequency and cause of men's negative health service experiences (defined as men reporting they "would not recommend" a facility) and their association with future HIV testing. We conducted univariable and multivariable logistic regressions to determine which aspects of health facility visits were associated with would-not-recommend experiences and to determine if would-not-recommend experiences 12-24 months prior to the survey were associated with HIV testing in the 12 months prior to the survey. Among 1,098 men eligible for HIV testing in the 12 months prior to the survey, median age was 34 years; 9% of men reported at least one would-not-recommend experience, which did not differ by sociodemographics, gender norm beliefs, or HIV stigma beliefs. The factors most strongly associated with would-not-recommend experiences were cost (aOR 5.8, 95%CI 2.9-11.4), cleanliness (aOR 4.2, 95%CI 1.8-9.9), medicine availability (aOR 3.3, 95%CI 1.7-6.4), and wait times (aOR 2.7, 95%CI 1.5-5.0). Reporting a would-not-recommend experience 12-24 months ago was associated with a 59% decrease in likelihood of testing for HIV in the last 12 months (aOR 0.41; 95% CI:0.17-0.96). Dissatisfaction with general health services was strongly associated with reduced HIV testing. Coverage of high-priority screening services like HIV testing may benefit from improving overall health system quality.