MicroRNA (miRNA) dysregulation is associated with the tumorigenesis and development of numerous human cancers. The defect in miRNA biogenesis is the main cause of miRNA dysregulation. We previously demonstrated that ERK-induced phosphorylation of XPO5 followed by peptidyl-prolyl cis/trans isomerase Pin1-mediated isomerization downregulates miRNA expression and contributes to hepatocellular carcinoma (HCC) development. However, how Pin1 precisely regulates miRNA biogenesis in HCC remains elusive. Here we reveal that Pin1 has a pivotal role in the miRNA maturation process by modulating phosphorylated Serine-Proline (pS-P) motif of XPO5 in a phosphorylation-dependent manner. By recognizing and binding to XPO5 via its WW domain, Pin1 catalyzes the conformation change of XPO5 and diminishes XPO5 ability to export pre-miRNAs from the nucleus to the cytoplasm, resulting in the reduced mature miRNA levels and promoted HCC development. Furthermore, downregulation of Pin1 by shRNA restores XPO5-dependent pre-miRNA export and effective biogenesis of mature miRNAs, leading to both in vitro and in vivo HCC inhibition. Therefore, our research discloses a new posttranscriptional regulatory mechanism of miRNA biosynthesis and provides the experimental basis for a novel HCC therapy by targeting Pin1.