This research aimed at exploring the improvement effect of Farnesoid X receptor (FXR) regulating bile acid (BA) on hepatocellular carcinoma with obstructive jaundice under magnetic resonance cholangiopancreatography (MRCP). Forty-eight hepatocellular carcinoma patients with obstructive jaundice who were examined in hospital were selected as the study group, and another 10 healthy volunteers who were examined at the same period were selected as the control group. The patients were treated with FXR inhibitor, and the therapeutic effect was observed. The results showed that after treatment, the AST content and TBIL content in serum of the study group were 123.5 ± 4.9 U/L and 1.8 ± 0.3 μmol/L, respectively, which were significantly lower than those before treatment,
P
< 0.05; the ALT content and AST content in serum in patients with high obstruction were significantly lower than those before treatment, and the K+ content was significantly higher than that before treatment (
P
< 0.05). The ALT, AST, and TBIL contents in serum in patients with low obstruction were significantly lower than those before treatment (
P
< 0.05). Apparent diffusion coefficient (ADC) was 1.17 ± 0.49 × 10−3 mm2/s in patients with moderate jaundice and 1.20 ± 0.27 × 10−3 mm2/s in patients with severe jaundice, compared with that before treatment, and the difference was statistically significant (
P
< 0.05). Based on FXR, it can regulate BA synthesis and metabolism, restore BA metabolic homeostasis, effectively play a hepatoprotective role, reduce bilirubin content in the body, and improve jaundice injury, which has application value.