A bed with overturn function includes a pulley set, a driving lever and a four-bar linkage structure. The pulley set has a first pulley and a second pulley. The first pulley is connected to the second pulley through a belt, and the second pulley rotates according to the first pulley. The driving lever passes through the first pulley. when the driving lever rotates in a first direction, the first pulley rotates in the first direction. The four-bar linkage structure has an input link connected to the driving lever through the pulley set, and rotates according to the driving lever. When the input link rotates to a first angle, the four-bar linkage structure rises from a first position to a second position.