DNA aptamers that bind to hematoporphyrin IX (HPIX) were isolated using an in vitro selection technique. Most aptamers obtained after the 7th and 10th rounds contained guanine-rich sequences. Binding assay using fluorescence polarization technique and structural analysis by CD spectra revealed that the parallel guanine-quartet structure of the aptamer participates in the recognition of HPIX.