This review explores the pathogenic mechanisms of the gut microbiota and its metabolites in AITDs, characterizes the gut microbiota in Graves’ disease (GD) and Hashimoto’s thyroiditis (HT), and examines the interactions between the gut microbiota, thyroid hormones, T cell differentiation, and trace elements. This evidence concerns the gene TG and hematocrit.