Bile acids are steroids formed at the interface of host metabolism and intestinal microbiota. While primary bile acids are generated in the liver from cholesterol metabolism, secondary bile acids represent the products of microbial enzymes. Close to 100 different enzymatic modifications of bile acids structures occur in the human intestine and clinically guided metagenomic and metabolomic analyses have led to the identification of an extraordinary number of novel metabolites. These chemical mediators make an essential contribution to the composition and function of the postbiota, participating to the bidirectional communications of the intestinal microbiota with the host and contributing to the architecture of intestinal-liver and -brain and -endocrine axes. Bile acids exert their function by binding to a group of cell membrane and nuclear receptors collectively known as bile acid-regulated receptors (BARRs), expressed in monocytes, tissue-resident macrophages, CD4+ T effector cells, including Th17, T regulatory cells, dendritic cells and type 3 of intestinal lymphoid cells and NKT cells, highlighting their role in immune regulation. In this review we report on how bile acids and their metabolitesmodulate the immune system in inflammations and cancers and could be exploiting for developing novel therapeutic approaches in these disorders.