The prevalence of Helicobacter pylori infection is high worldwide, while numerous research has focused on unraveling the relationship between H. pylori infection and extragastric diseases. Although H. pylori infection has been associated with thyroid diseases, including thyroid nodule (TN), the relationship has mainly focused on potential physiological mechanisms and has not been validated by large population epidemiological investigations. Therefore, we thus designed a case-control study comprising participants who received regular health examination between 2017 and 2019. The cases and controls were diagnosed via ultrasound, while TN types were classified according to the guidelines of the American College of Radiology Thyroid Imaging Reporting and Data System (ACR TI-RADS). Moreover, H. pylori infection was determined by C14 urea breath test, while its relationship with TN type risk and severity was analyzed using binary and ordinal logistic regression analyses. A total of 43,411 participants, including 13,036 TN patients and 30,375 controls, were finally recruited in the study. The crude odds ratio (OR) was 1.07 in Model 1 (95% CI = 1.03–1.14) without adjustment compared to the H. pylori non-infection group. However, it was negative in Model 2 (OR = 1.02, 95% CI = 0.97–1.06) after being adjusted for gender, age, body mass index (BMI), and blood pressure and in Model 3 (OR = 1.01, 95% CI = 0.97–1.06) after being adjusted for total cholesterol, triglyceride, low-density lipoprotein, and high-density lipoprotein on the basis of Model 2. Control variables, including gender, age, BMI, and diastolic pressure, were significantly correlated with the risk of TN types. Additionally, ordinal logistic regression results revealed that H. pylori infection was positively correlated with malignant differentiation of TN (Model 1: OR = 1.06, 95% CI = 1.02–1.11), while Model 2 and Model 3 showed negative results (Model 2: OR = 1.01, 95% CI = 0.96–1.06; Model 3: OR = 1.01, 95% CI = 0.96–1.05). In conclusion, H. pylori infection was not significantly associated with both TN type risk and severity of its malignant differentiation. These findings provide relevant insights for correcting possible misconceptions regarding TN type pathogenesis and will help guide optimization of therapeutic strategies for thyroid diseases.