Hepatocellular carcinoma (HCC) development is associated with altered modifications in DNA methylation, changing transcriptional regulation. Emerging evidence indicates that DNA methyltransferase 1 (DNMT1) plays a key role in the carcinogenesis process. This study aimed to investigate how pirfenidone (PFD) modifies this pathway and the effect generated by the association between c-Myc expression and DNMT1 activation. Rats F344 were used for HCC development using 50 mg/kg of diethylnitrosamine (DEN) and 25 mg/kg of 2-Acetylaminofluorene (2-AAF). The HCC/PFD group received simultaneous doses of 300 mg/kg of PFD. All treatments lasted 12 weeks. On the other hand, HepG2 cells were used to evaluate the effects of PFD in restoring DNA methylation in the presence of the inhibitor 5-Aza. Histopathological, biochemical, immunohistochemical, and western blot analysis were carried out and our findings showed that PFD treatment reduced the amount and size of tumors along with decreased Glipican-3, β-catenin, and c-Myc expression in nuclear fractions. Also, this treatment improved lipid metabolism by modulating PPARγ and SREBP1 signaling. Interestingly, PFD augmented DNMT1 and DNMT3a protein expression, which restores global methylation, both in our in vivo and in vitro models. In conclusion, our results suggest that PFD could slow down HCC development by controlling DNA methylation.