Xifaxan (rifaximin) is a semi-synthetic derivative of rifampin and acts by binding to the betasubunit of bacterial DNA-dependent RNA polymerase blocking one of the steps in transcription. This results in inhibition of bacterial protein synthesis and consequently inhibits the growth of bacteria.