We prove that every topologically stable homeomorphism with global attractor of $\mathbb {R}^n$ is topologically stable on its global attractor. The converse is not true. On the other hand, if a homeomorphism with global attractor of a locally compact metric space is expansive and has the shadowing property, then it is topologically stable. This extends the Walters stability theorem (Walters, On the pseudo-orbit tracing property and its relationship to stability. The structure of attractors in dynamical systems, 1978, pp. 231–244).