Oligonucleotide probes were designed with a poly-cytosine region that facilitates stable anchoring to a magnetic ionic liquid support. By tethering a recognition sequence to the poly-C tag, the resulting diblock oligonucleotides distinguished single-nucleotide variants and captured DNA targets from interfering genomic DNA and cell lysate for qPCR amplification.