Molecular indicators to specify the risk posed by a pancreatic cyst would benefit patients. Previously we showed that most cancer-precursor cysts, termed mucinous cysts, produce abnormal glycoforms of the proteins MUC5AC and endorepellin. Here we sought to validate the glycoforms as a biomarker of mucinous cysts and to specify the oligosaccharide linkages that characterize MUC5AC. We hypothesized that mucinous cysts secrete MUC5AC displaying terminal N-acetylglucosamine (GlcNAc) in either alpha or beta linkage. We used antibody-lectin sandwich assays to detect glycoforms of MUC5AC and endorepellin in cyst fluid samples from three independent cohorts of 49, 32, and 66 patients, and we used monoclonal antibodies to test for terminal, alpha-linked GlcNAc and the enzyme that produces it. A biomarker panel comprising the previously-identified glycoforms of MUC5AC and endorepellin gave 96%, 96%, and 87% accuracy for identifying mucinous cysts in the three cohorts with an average sensitivity of 92% and an average specificity of 94%. Glycan analysis showed that MUC5AC produced by a subset of mucinous cysts displays terminal alpha-GlcNAc, a motif expressed in stomach glands. The alpha-linked glycoform of MUC5AC was unique to intraductal papillary mucinous neoplasms (IPMN), whereas terminal beta-linked GlcNAc was increased in both IPMNs and mucinous cystic neoplasms (MCN). The enzyme that synthesizes alpha-GlcNAc, A4GNT, was expressed in the epithelia of mucinous cysts that expressed alpha-GlcNAc, especially in regions with high-grade dysplasia. Thus IPMNs secrete a gastric glycoform of MUC5AC that displays terminal alpha-GlcNAc, and the combined alpha-GlcNAc and beta-GlcNAc glycoforms form an accurate biomarker of mucinous cysts.