The controlled manipulation of the topological phases of electronic materials is a central goal of modern condensed matter research. Here, the authors demonstrate controllable switching between two distinct topological phases in a layered ferromagnet via thermal cycling.