Porcine epidemic diarrhea virus (PEDV) infection results in significant mortality among newborn piglets, leading to substantial economic setbacks in the pig industry. Short-chain fatty acids (SCFA), the metabolites of intestinal probiotics, play pivotal roles in modulating intestinal function, enhancing the intestinal barrier, and bolstering immune responses through diverse mechanisms. The protective potential of Lactobacillus delbrueckii, Lactobacillus johnsonii, and Lactococcus lactis was first noted when administered to PEDV-infected piglets. Histological evaluations, combined with immunofluorescence studies, indicated that piglets receiving L. lactis displayed less intestinal damage, with diminished epithelial cell necrosis and milder injury levels. Differences in immunofluorescence intensity revealed a significant disparity in antigen content between the L. lactis and PEDV groups, suggesting that L. lactis might suppress PEDV replication, the intestine. We then assessed short-chain fatty acid content through targeted metabolomics, finding that acetate levels markedly varied from other groups. This protective impact was confirmed by administering acetate to PEDV-infected piglets. Data suggested that piglets receiving acetate exhibited resistance to PEDV. Flow cytometry analyses were conducted to evaluate the expression of innate and adaptive immune cells in piglets. Sodium acetate appeared to bolster innate immune defenses against PEDV, marked by elevated NK cell and macrophage counts in mesenteric lymph nodes, along with increased NK cells in the spleen and macrophages in the bloodstream. Acetic acid was also found to enhance the populations of CD8+ IFN-γ T cells in the blood, spleen, and mesenteric lymph, CD4+ IFN-γ T cells in mesenteric lymph nodes and spleen, and CD4+ IL-4+T cells in the bloodstream. Transcriptome analyses were carried out on the jejunal mucosa from piglets with PEDV-induced intestinal damage and from healthy counterparts with intact barriers. Through bioinformatics analysis, we pinpointed 189 significantly upregulated genes and 333 downregulated ones, with the PI3K-AKT, ECM-receptor interaction, and pancreatic secretion pathways being notably enriched. This transcriptomic evidence was further corroborated by western blot and qPCR. Short-chain fatty acids (SCFA) were found to modulate G protein-coupled receptor 41 (GPR41) and 43 (GPR43) in porcine intestinal epithelial cells (IPEC-J2). Post-acetic acid exposure, there was a notable upsurge in the ZO-1 barrier protein expression in IPEC-J2 compared to the unexposed control group (WT), while GPR43 knockdown inversely affected ZO-1 expression. Acetic acid amplified the concentrations of phosphorylated PI3K and AKT pivotal components of the PI3K/AKT pathway. Concurrently, the co-administration of AKT agonist SC79 and PI3K inhibitor LY294002 revealed acetic acid's role in augmenting ZO-1 expression via the P13K/AKT signaling pathway. This study demonstrates that acetic acid produced by Lactobacillus strains regulates intestinal barrier and immune functions to alleviate PEDV infection. These findings provide valuable insights for mitigating the impact of PEDV in the pig industry.