Near-infrared-emitting hemicyanine dyes are widely used in activatable fluorescent probes for various biological analytes; however, they are chemically unstable and show photoinstability, as shown here with naphthalene-based hemicyanines containing a typical hemicyanine moiety, 2-indolium. These issues can be resolved with a 4-pyridinium derivative, which also has good two-photon imaging capability.