The function of TLR5 (toll like receptor 5, Ensembl gene identifier ENSG00000187554) is as follows. Pattern recognition receptor (PRR) located on the cell surface that participates in the activation of innate immunity and inflammatory response (PubMed:11323673, PubMed:18490781). Recognizes small molecular motifs named pathogen-associated molecular pattern (PAMPs) expressed by pathogens and microbe-associated molecular patterns (MAMPs) usually expressed by resident microbiota (PubMed:29934223). Upon ligand binding such as bacterial flagellins, recruits intracellular adapter proteins MYD88 and TRIF leading to NF- kappa-B activation, cytokine secretion and induction of the inflammatory response (PubMed:11489966, PubMed:20855887). Plays thereby an important role in the relationship between the intestinal epithelium and enteric microbes and contributes to the gut microbiota composition throughout life (By similarity). {ECO:0000250|UniProtKB:Q9JLF7, ECO:0000269|PubMed:11323673, ECO:0000269|PubMed:11489966, ECO:0000269|PubMed:18490781, ECO:0000269|PubMed:20855887, ECO:0000269|PubMed:29934223}.