High-spatial resolution fluorescence imaging on a high-density gold nanoelectrode array was achieved by anchoring fluorescent molecules to limit diffusion. Meanwhile, an ionic liquid as the electrolyte with a refractive index matching with the optical system could effectively improve the sensitivity of fluorescence imaging. Moreover, spatially resolved imaging of the electrochemical reactions on a single nanoelectrode modified with a single Pt nanoparticle was achieved.