The embodiment of the invention provides a main and standby power supply switching device and method.The device comprises a voltage comparison module, a switching control module, a first controllable switch module, a second controllable switch module and a hysteresis control module, and the voltage comparison module is used for comparing the voltage of a main power supply and the voltage of a standby power supply; the first controllable switch module is connected with a main power supply and a load, and the second controllable switch module is connected with a standby power supply and a load; the switching control module is connected with the voltage comparison module; the switching control module is used for controlling the on-off of the first controllable switch module and the second controllable switch module based on the comparison result of the voltage comparison module; the hysteresis control module is connected with the switching control module and the voltage comparison module, and the switching control module carries out hysteresis control on the voltage comparison module through the hysteresis control module. According to the invention, the problem of high cost of a main and standby power supply switching scheme in the prior art is solved, and the effect of reducing the cost is achieved.