Gut microbes and their metabolites are actively involved in the development and regulation of host immunity, which can influence disease susceptibility. Herein, we review the most recent research advancements in the gut microbiota–immune axis. We discuss in detail how the gut microbiota is a tipping point for neonatal immune development as indicated by newly uncovered phenomenon, such as maternal imprinting, in utero intestinal metabolome, and weaning reaction. We describe how the gut microbiota shapes both innate and adaptive immunity with emphasis on the metabolites short-chain fatty acids and secondary bile acids. We also comprehensively delineate how disruption in the microbiota–immune axis results in immune-mediated diseases, such as gastrointestinal infections, inflammatory bowel diseases, cardiometabolic disorders (e.g., cardiovascular diseases, diabetes, and hypertension), autoimmunity (e.g., rheumatoid arthritis), hypersensitivity (e.g., asthma and allergies), psychological disorders (e.g., anxiety), and cancer (e.g., colorectal and hepatic). We further encompass the role of fecal microbiota transplantation, probiotics, prebiotics, and dietary polyphenols in reshaping the gut microbiota and their therapeutic potential. Continuing, we examine how the gut microbiota modulates immune therapies, including immune checkpoint inhibitors, JAK inhibitors, and anti-TNF therapies. We lastly mention the current challenges in metagenomics, germ-free models, and microbiota recapitulation to a achieve fundamental understanding for how gut microbiota regulates immunity. Altogether, this review proposes improving immunotherapy efficacy from the perspective of microbiome-targeted interventions.