It is shown in this paper that an immersion of a connected, closed n-manifold into another connected n-manifold is a diffeomorphism if and only if the induced homomorphism between the fundamental groups is surjective at some point. This is proved as a consequence of a more general assertion about topological spaces.