Yang et al. demonstrate that the goblet cell-expressed microprotein FXYD3 interacts with SERCA2 to regulate ER calcium homeostasis, promoting mucus granule secretion and sialylation. FXYD3 deficiency impairs mucin sialylation and mucus barrier function, increasing susceptibility to intestinal inflammation.