An electric mattress (1), comprising a mattress frame (10) and a mattress outer layer (11) wrapped around the mattress frame (10), wherein the mattress frame (10) comprises a backrest part (101), a seat part (102), a thigh part (103), and a shank part (104) the seat part (102) is rotatably connected to the backrest part (101) the seat part (102) is rotatably connected to the thigh part (103) the thigh part (103) is rotatably connected to the shank part (104) and the angle between the seat part (102) and the backrest part (101) and the angle between the seat part (102) and the thigh part (103) can be adjusted to specific angles.