Dietary fiber is known to promote the production of short-chain fatty acids (SCFAs) by gut bacteria, which can enhance intestinal epithelial barrier function and ameliorate intestinal inflammation in patients with inflammatory bowel disease (IBD). Interestingly, some IBD patients show reduced expression of solute carrier family member 3 (Slc26a3) in intestinal epithelial cells. The objective of this research was to investigate the interaction between SCFAs and Slc26a3 during colitis and assess how this interaction affects intestinal epithelial barrier function. We showed that butyrate alleviated colonic inflammation in a dose-dependent manner in a dextran sulfate sodium salt (DSS)-induced colitis model. Consistent with this, butyrate increased Slc26a3 and tight junction protein levels. In addition, butyrate inhibited histone deacetylase (HDAC) levels and significantly increased the expression of Slc26a3 by the acetylation of histones in Caco-2BBe cells. The utilization of a pan-HDAC inhibitor or inhibitors specific to certain classes of HDACs revealed that butyrate primarily suppressed HDAC8 to blunt the NF-κB pathways and enhance the expression of Slc26a3. Notably, we demonstrated that HDAC8 activation counteracted the beneficial effect of butyrate in DSS-induced colitis. Therefore, we concluded that butyrate improves the expression of Slc26a3 via inhibition of the HDAC8/NF-κB pathway, leading to increased intestinal epithelial barrier function.