Liver fibrosis is a progressive scarring process primarily caused by chronic inflammation and injury, often closely associated with viral hepatitis, alcoholic liver disease, metabolic dysfunction-associated steatotic liver disease (MASLD), drug-induced liver injury, and autoimmune liver disease (AILD). Currently, there are very few clinical antifibrotic drugs available, and effective targeted therapy is lacking. Recently, emerging antifibrotic drugs and immunomodulators have shown promising results in animal studies, and some have entered clinical research phases. This review aims to systematically review the molecular mechanisms underlying liver fibrosis, focusing on advancements in drug treatments for hepatic fibrosis. Furthermore, since liver fibrosis is a progression or endpoint of many diseases, it is crucial to address the etiological treatment and secondary prevention for liver fibrosis. We will also review the pharmacological treatments available for common hepatitis leading to liver fibrosis.