Well-ordered NiO nanoflowers were successfully constructed by sintering flower-like nickel ethylene glycol nanocrystals derived from the thermal decomposition of rod-like nickel tartrate. We found that the NiO nanoflowers have a high adsorption selectivity to organic dyes and a strong adsorption capacity to toxic heavy metal ions in water owing to their porous structure.