ObjectivesTubal factor infertility (TFI) is common female infertility responsible for a large portion of female factor infertility. This study reveals the effect of the quercetin of Huoxuehuayu Tongluo Decoction with azithromycin on the pregnancy rate and inflammation of TFI female rats.Materials and MethodsFemale Sprague Dawley rats were constructed into the TFI model and treated with quercetin, Huoxuehuayu Tongluo Decoction, and combination therapy (quercetin and azithromycin). Pregnancy rate and litter size were measured. Network pharmacology was applied to analyze the interaction between Huoxuehuayu Tongluo Decoction and TFI. The combination of quercetin and IL-6 was analyzed by molecular docking. HE staining and electron microscopy were used to observe the histopathology and ultrastructure of fallopian tube tissues. The TNF-α, IL-1β, IL-6, IL-8, and MPO levels were detected by ELISA. The activation of JAK/STAT, MAPK, and NF-κB p65 pathways was detected by western blot or immunohistochemistry.ResultsQuercetin was the main active component of Huoxuehuayu Tongluo Decoction, and could bind to IL-6 in TFI. Target genes were enriched in the IL-17 signaling pathway, JAK-STAT signaling pathway, inflammatory disease, etc. Under the quercetin and azithromycin combination therapy, both rat pregnancy rates and litter sizes increased significantly. quercetin and azithromycin alleviated the symptoms of hydrosalpinx and inflammatory damage in fallopian tube tissues. The phosphorylation of JAK/STAT and MAPK pathways and NF-κB p65 translocation to the nucleus were significantly inhibited by the quercetin and azithromycin therapy.ConclusionQuercetin and azithromycin combination therapy inhibited inflammation and phosphorylation of JAK/STAT and MAPK pathways to improve TFI inflammation and pregnancy function.