The bacterial microbiome promotes carcinogenesis through several mechanisms. a | Changes in the microbiome and host defences may favour increased bacterial translocation, leading to increased inflammation, which is mediated by microorganism-associated molecular patterns (MAMPs) that activate Toll-like receptors (TLRs) in several cell types, including macrophages, myofibroblasts, epithelial cells and tumour cells. These effects may occur locally or through long-distance effects in other organs. b | Genotoxic effects are mediated by bacterial genotoxins — such as colibactin and cytolethal distending toxin (CDT) — that, after being delivered to the nucleus of host cells, actively induce DNA damage in organs that are in direct contact with the microbiome, such as the gastrointestinal tract. Reactive oxygen species (ROS) and reactive nitrogen species (RNS) released from inflammatory cells such as macrophages, as well as hydrogen sulphide (H2S) from the bacterial microbiota, may also be genotoxic. c | Metabolic actions of the microbiome may result in the activation of genotoxins such as acetaldehyde, dietary nitrosamine and other carcinogens, in the metabolism of hormones such as oestrogen and testosterone, in the metabolism of bile acids and in alterations of energy harvest. The microbiota also mediates tumour suppressive effects (shown in green) through inactivation of carcinogens, through the generation of short-chain fatty acids such as butyrate and through the biological activation of cancer-preventing phytochemicals. Many of these tumorigenic and tumour-suppressive mediators exert both local and longdistance effects. AREG, amphiregulin; DCA, deoxycholic acid; EREG, epiregulin; IL, interleukin; NF-κB, nuclear factor-κB; NLR, NOD-like receptor; STAT3, signal transducer and activator of transcription 3; TH17, T helper 17; TNF, tumour necrosis factor.