The function of FABP6 (fatty acid binding protein 6, ENSG00000170231) is as follows. Binds to bile acids and is involved in enterohepatic bile acid metabolism. Required for efficient apical to basolateral transport of conjugated bile acids in ileal enterocytes (By similarity). In vitro binds to bile acids in the order: deoxycholic acid > cholic acid > chenodeoxycholic acid and respective BA conjugation modifies affinities in the order taurine-conjugated > glycine-conjugated > unconjugated bile acids. Stimulates gastric acid and pepsinogen secretion (By similarity). {ECO:0000250|UniProtKB:P10289, ECO:0000250|UniProtKB:P51162, ECO:0000269|PubMed:12486725, ECO:0000269|PubMed:7588781}. [Isoform 2]: Essential for the survival of colon cancer cells to bile acid-induced apoptosis. .