Although the associations between a patient’s body mass index (BMI) and metabolic diseases, as well as their breath test results, have been studied, the relationship between breath hydrogen/methane levels and metabolic diseases needs to be further clarified. We aimed to investigate how the composition of exhaled breath gases relates to metabolic disorders, such as diabetes mellitus, dyslipidemia, hypertension, and nonalcoholic fatty liver disease (NAFLD), and their key risk factors. An analysis was performed using the medical records, including the lactulose breath test (LBT) data of patients who visited the Ajou University Medical Center, Suwon, Republic of Korea, between January 2016 and December 2021. The patients were grouped according to four different criteria for LBT hydrogen and methane levels. Of 441 patients, 325 (72.1%) had positive results for methane only (hydrogen < 20 parts per million [ppm] and methane ⩾ 3 ppm). BMIs and NAFLD prevalence were higher in patients with only methane positivity than in patients with hydrogen and methane positivity (hydrogen ⩾ 20 ppm and methane ⩾ 3 ppm). According to a multivariate analysis, the odds ratio of only methane positivity was 2.002 (95% confidence interval [CI]: 1.244-3.221, P = 0.004) for NAFLD. Our results demonstrate that breath methane positivity is related to NAFLD and suggest that increased methane gas on the breath tests has the potential to be an easily measurable biomarker for NAFLD diagnosis.