Abstract The development of chemical sensors capable of detecting the specific glycosylation patterns of proteins offers a powerful mean for the early detection of cancer. Unfortunately, this strategy is scarcely explored because receptors recognizing the glycans linked to proteins are challenging to discover. In this work, we describe a simple method for directing the selection of aptamers toward the glycan structure of the glycoproteins, with prostate-specific antigen (PSA) as a model target. Using this strategy, we identified one aptamer (PSA-1) that binds the glycan moiety of PSA with reasonable affinity (a dissociation constant of 177 ± 65 nM). Interestingly, an electrochemical sensor with a sandwich format employing the identified aptamer as a signaling receptor, provides a tool of discriminating human PSA from the unglycosylated protein, with a limit of detection of 0.66 ng/mL. The sensor responds to different levels of PSA in serum, correlating well with chemiluminescence ELISA used in hospitals even with higher potential to discriminate clinically meaningful prostate cancer. Although validation on a larger cohort is needed, this is the first demonstration of an aptamer-based sensor to detect PSA by focusing in its glycan moiety Highlights • A SELEX approach to direct aptamers toward de glycan structure of glycoproteins. • Aptamers recognizing the glycan moiety of prostate-specific antigen. • An aptamer-based electrochemical sandwich biosensor to detect PSA in serum. • A promising approach to aid prostate cancer diagnosis, distinguishing it from benign prostate hyperplasia. [ABSTRACT FROM AUTHOR]