Both the introduction and the removal of supertwists by DNA gyrase change the linking number of DNA in steps of two. This surprising finding provides strong evidence that gyrase acts by a mechanism, called sign inversion, whereby a positive supercoil is directly inverted into a negative one via a transient double-strand break.