PCR-based DNA walking is of efficacy for capturing unknown flanking genomic sequences. Here, an uracil base PCR (UB-PCR) with satisfying specificity has been devised for DNA walking. Primary UB-PCR replaces thymine base with uracil base, resulting in a primary PCR product composed of U-DNAs. A single-primer (primary nested sequence-specific primer) single-cycle amplification, using the four normal bases (adenine, thymine, cytosine, and guanine) as substrate, is then performed on the primary PCR product. Clearly, only those U-DNAs, ended by the primary nested sequence-specific primer at least at one side, will produce the corresponding normal single strands. Next, the single-cycle product undergoes uracil-DNA glycosylase treatment to destroy the U-DNAs, while the normal single strands are unaffected. Afterward, secondary even tertiary PCR is performed to exclusively enrich the target product. The feasibility of UB-PCR has been checked by obtaining unknown sequences bordering the three selected genetic sites.