Lemma 29.45.6. Let $X$ be a scheme. The canonical closed immersion $X_{red} \to X$ (see Schemes, Definition 26.12.5) is a universal homeomorphism.

Proof. Omitted. $\square$

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).