A dinitrophenol-based colorimetric chemosensor sequentially sensing Cu2+ and S2-, HDHT ((E)-2-(2-(2-hydroxy-3,5-dinitrobenzylidene)hydrazineyl)-N,N,N-trimethyl-2-oxoethan-1-aminium), was designed and synthesized. The HDHT selectively detected Cu2+ through a color change of yellow to colorless. The calculated detection limit of the HDHT for Cu2+ was 6.4 x 10(-2) mu M. In the interference test, the HDHT was not considerably inhibited by various metal ions in its detection of Cu2+. The chelation ratio of the HDHT to Cu2+ was determined as 1:1 by using a Job plot and ESI-MS experiment. In addition, the HDHT-Cu2+ complex showed that its color selectively returned to yellow only in the presence of S2-. The detection limit of the HDHT-Cu2+ complex for S2- was calculated to be 1.2 x 10(-1) mu M. In the inhibition experiment for S2-, the HDHT-Cu2+ complex did not significantly interfere with other anions. In the real water-sample test, the detection performance of the HDHT for Cu2+ and S2- was successfully examined. The detection features of HDHT for Cu2+ and the HDHT-Cu2+ for S2- were suggested by the Job plot, UV-Vis, ESI-MS, FT-IR spectroscopy, and DFT calculations.