An international team has shown how the Salmonella protein RamR senses bile acids present in the gut, leading to the activation of a multidrug efflux system that helps bacterial cells to get rid of toxins. This system helps the bacteria to survive and colonize this habitat despite harsh conditions. These findings could form the basis for new therapeutic approaches aimed at combating bacterial infection.