Electrical manipulation of phenomena generated by nontrivial band topology is essential for the development of next-generation technology using topological protection. A Weyl semimetal is a three-dimensional gapless system that hosts Weyl fermions as low-energy quasiparticles1,2,3,4. It has various exotic properties, such as a large anomalous Hall effect (AHE) and chiral anomaly, which are robust owing to the topologically protected Weyl nodes1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16. To manipulate such phenomena, a magnetic version of Weyl semimetals would be useful for controlling the locations of Weyl nodes in the Brillouin zone. Moreover, electrical manipulation of antiferromagnetic Weyl metals would facilitate the use of antiferromagnetic spintronics to realize high-density devices with ultrafast operation17,18. However, electrical control of a Weyl metal has not yet been reported. Here we demonstrate the electrical switching of a topological antiferromagnetic state and its detection by the AHE at room temperature in a polycrystalline thin film19 of the antiferromagnetic Weyl metal Mn 3 Sn9,10,12,20, which exhibits zero-field AHE. Using bilayer devices composed of Mn 3 Sn and nonmagnetic metals, we find that an electrical current density of about 1010 to 1011 amperes per square metre induces magnetic switching in the nonmagnetic metals, with a large change in Hall voltage. In addition, the current polarity along the bias field and the sign of the spin Hall angle of the nonmagnetic metals—positive for Pt (ref. 21), close to 0 for Cu and negative for W (ref. 22)—determines the sign of the Hall voltage. Notably, the electrical switching in the antiferromagnet is achieved with the same protocol as that used for ferromagnetic metals23,24. Our results may lead to further scientific and technological advances in topological magnetism and antiferromagnetic spintronics.