Our findings suggest that chidamide downregulated the HDAC3/HNF4A/TYMS axis, thereby enhancing the response of GC cells to 5-FU. Here, HNF4A is linked to gastric cancer.