The invention relates to an automatic magnetic check valve, which comprises a cover body, an upper magnet, a valve body, a shaft seat, a valve, a lower magnet and a sealing ring, wherein the shaft seat is arranged on one side of the bottom of the valve body; the valve is hinged on the shaft seat; the upper magnet is arranged on the valve body; the lower magnet is arranged on the valve; the sealing ring is arranged between the valve and the valve body; and the upper magnet and the lower magnet are in a Z-plane asymmetric structure. When asymmetric magnets attract each other, an Fx component force not equal to zero is generated, the consistency of the repeated opening/closing action of the valve is greatly improved under the action of the Fx, and the valve is closed to be accurately attracted and sealed; the valve body has a high flow structure, so that an effective area of fluid flowing through the valve body is greatly improved; the valve body is hardly wound with hair and cotton and is cleaning-free; the valve can realize 90-degree opening in a circular pipeline, the drainage is not hindered and the flow velocity is high; and the overflow of sewage is prevented, polluted air, insects and cockroaches are prevented. The check valve is conveniently arranged at a sewage pipeline to replace the conventional water return bend, is suitable for sewage drainage, and is also suitable for other fluid pipelines with one-way flow requirement.