Liver fibrosis is the reversible deposition of extracellular matrix (ECM) and scar formation after liver damage by various stimuli. The interaction between NOX4/ROS and RhoA/ROCK1 in liver fibrosis is not yet clear. Ursolic acid (UA) is a traditional Chinese medicine with anti-fibrotic effects, but the molecular mechanism underlying these effects is still unclear. We investigated the interaction between NOX4/ROS and RhoA/ROCK1 during liver fibrosis and whether these molecules are targets for the anti-fibrotic effects of UA. First, we confirmed that UA reversed CCl4-induced liver fibrosis. In the NOX4 intervention and RhoA intervention groups, related experimental analyses confirmed the decrease in CCl4-induced liver fibrosis. Next, we determined that the expression of NOX4 and RhoA/ROCK1 was decreased in UA-treated liver fibrotic mice. Furthermore, RhoA/ROCK1 expression was decreased in the NOX4 intervention group, but there was no significant change in the expression of NOX4 in the RhoA intervention group. Finally, we found that liver fibrotic mice showed a decline in their microbiota diversity and abundance, a change in their microbiota composition, and a reduction in the number of potential beneficial bacteria. However, in UA-treated liver fibrotic mice, the microbiota dysbiosis was ameliorated. In conclusion, the NOX4/ROS and RhoA/ROCK1 signalling pathways are closely linked to the development of liver fibrosis. UA can reverse liver fibrosis by inhibiting the NOX4/ROS and RhoA/ROCK1 signalling pathways, which may interact with each other.