The present invention relates to methods and compositions for reducing the risk and severity of C. difficile infection. It is based, at least in part, on the discovery that a restricted fraction of the gut microbiota, including the bacterium Clostridium scindens, contributes substantially to resistance against C. difficile infection. Without being bound by any particular theory, it is believed that this is achieved through the biosynthesis of secondary bile acids.