An object of the present invention is to provide a convenient and low-cost method for enhancing the stability of a DNA aptamer and/or its capacity to bind to a target molecule, and a DNA aptamer obtained by the method. The object is solved by substituting an internal hairpin structure (stem-loop structure) of the DNA aptamer with a structure called mini-hairpin structure and optionally increasing GC pairs in a stem portion of the DNA aptamer.