The pregnane X receptor (PXR) regulates drug metabolism by regulating the expression of drug-metabolizing enzymes such as cytochrome P450 3A4 (CYP3A4), which is involved in the metabolism of >50% of clinically prescribed drugs. The activity of PXR can be controlled by the binding of small molecule agonists or antagonists. Because of its unique ligand binding pocket, PXR binds promiscuously to structurally diverse chemicals. To study the structure–activity relationship, novel modulators for PXR are needed. Here we report the virtual screening of ˜25,000 natural product derivatives from the ZINC database using the Molecular Operating Environment docking software tool against the PXR-rifampicin complex X-ray crystal structure. Our screening resulted in identification of compounds based on the lowest S score, which measures Gibbs free energy. Interestingly, we found that the compounds that bind directly to PXR, as revealed in an intrinsic tryptophan fluorescence assay, modulate CYP3A4 promoter activity differentially in HepG2 cells. Mutational analysis and docking studies showed that these compounds bind broadly in the ligand binding pocket but interact with different amino acid residues. We further investigated the mechanism of binding by analyzing the functional groups that are important for distinguishing agonists from antagonists. The approach we used to identify novel modulators that bind to PXR can be useful for finding novel modulators of PXR.