The invention discloses a method for control magnetic writing of a magnetic stripe reader-writer, which comprises the following steps: firstly, driving a write head by the writing current of a writing low diamagnetic medium when the magnetic stripe reader-writer receives a
magnetism writing command, wherein the magnetic stripe reader-writer is in a low diamagnetic
magnetism writing state; secondly, identifying a swiped magnetic card or bankbook, wherein if the identification result is the bankbook, the write head is also driven by the writing current of the writing low diamagnetic medium, and the magnetic stripe reader-writer is in the low diamagnetic
magnetism writing state, and if the identification result is the magnetic card, the write head is driven by the writing current of a writing high diamagnetic medium, and the magnetic stripe reader-writer is switched to be in a high diamagnetic magnetism writing state; and thirdly, reading magnetic stripe information of the magnetic card or the bankbook by a reading head and comparing the magnetic stripe information with
system write data, wherein if the magnetic stripe information is in accordance with the
system write data, the magnetism writing work is finished, but if the magnetic stripe information is not in accordance with the
system write data, the magnetism writing operation is performed again by swiping the magnetic card or the bankbook, and the operation can be performed repeatedly until the magnetism writing is successful. The method can be applied to the prior
software systems of banks and is compatible with the prior magnetic stripes used by the banks.