We have developed ultrahigh density array of functionalized nanochannels by using a block copolymer having end di-COOH group. This approach provides a facile route for direct functionalization of wall surface of the nanochannels and immobilization site for molecular recognition agents (MRAs). By using overhanging single-stranded DNA as MRAs, the DNA-functionalized nanochannels showed high resolution to detect a single-base mismatch as well as to discriminate single-mismatched sequence at various locations by hybridization preference with MRAs.