Oleanolic acid (OA) is a naturally occurring pentacyclic triterpene compound that has been reported to cause cholestatic liver injury. However, the regulation and pathogenic role of bile acids in OA‐induced development of cholestatic liver injury remains largely unclear. Farnesoid X receptor (FXR) is a metabolic nuclear receptor that plays an important role in bile acid homeostasis in the liver by regulating efflux transporters bile salt export pump (BSEP) and multidrug resistance‐associated protein 2 (MRP2). The aim of this study was to investigate the effect of OA on hepatocyte tight junction function and determine the role of FXR, BSEP, and MRP2 in the mechanism of impairment of transport of bile acids induced by OA. Both in vivo and in vitro models were used to characterize the OA‐induced liver injury. The liquid chromatography–tandem mass spectrometry (LC‐MS) was employed to characterize the efflux function of the transporters, and the results showed that OA caused a blockage of bile acids efflux. OA treatment resulted in decreased expression levels of the tight junction proteins zonula occludens‐1 and occludin. Immunofluorescence results showed that OA treatment significantly reduced the number of bile ducts and the immunofluorescence intensity. Pretreatment with agonists of FXR and MRP2, respectively, in animal experiments attenuated OA‐induced liver injury, while pretreatment with inhibitors of BSEP and MRP2 further aggravated OA‐induced liver injury. These results suggest that OA inhibits FXR‐mediated BSEP and MRP2, leading to impaired bile acid efflux and disruption of tight junctions between liver cells, resulting in liver damage.