Shp2 is a member of the protein tyrosine phosphatase (PTP) family, which regulates a variety of cellular processes including cell growth, differentiation, mitotic cycle, and oncogenic transformation. Using a recombinant Shp2-GST protein as the target and GST as a counter target, we have identified two classes of single-stranded DNA aptamers that selectively bind to Shp2 with a K(d) in the nanomolar range. Structural studies of the most abundant sequence in the enriched library, HJ24, revealed a parallel G-quadruplex as the core binding domain. Furthermore, this aptamer was found to be an effective inhibitor of Shp2 phosphatase, an effect which was readily reversed by using the cDNA of HJ24. In view of these characteristics, this aptamer has the potential to be used for further development of Shp2 assays and therapeutics for the treatment of Shp2-dependent cancers and other diseases.