Infection/inflammation increases ST3GAL1 and epithelial sialylation in vivo, indicating context-responsive control relevant to mucin termini. Here, MUC5AC is linked to infection.