The nuclear xenobiotic receptor PXR is activated by a wide variety of clinically used drugs and serves as a master regulator of drug metabolism and excretion gene expression in mammals. St. John's wort is used widely in Europe and the United States to treat depression. This unregulated herbal remedy leads to dangerous drug-drug interactions, however, in patients taking oral contraceptives, antivirals, or immunosuppressants. Such interactions are caused by the activation of the human PXR by hyperforin, the psychoactive agent in St. John's wort. In this study, we show that hyperforin induces the expression of numerous drug metabolism and excretion genes in primary human hepatocytes. We present the 2.1 A crystal structure of hyperforin in complex with the ligand binding domain of human PXR. Hyperforin induces conformational changes in PXR's ligand binding pocket relative to structures of human PXR elucidated previously and increases the size of the pocket by 250 A(3). We find that the mutation of individual aromatic residues within the ligand binding cavity changes PXR's response to particular ligands. Taken together, these results demonstrate that PXR employs structural flexibility to expand the chemical space it samples and that the mutation of specific residues within the ligand binding pocket of PXR tunes the receptor's response to ligands.