A smart mattress includes a mattress base, a bed assembly, a massage module and a wireless control system. The mattress base includes a mattress frame (4). The bed assembly is mounted on the mattress frame (4). The bed assembly comprises a multi-section bed board (5), a stuff layer (6) and a latex layer (9) from bottom to top. The bed assembly and the mattress base are wrapped with a knitted fabric (1). The massage module is embedded in the bottom of the stuffer layer (6) and connected with corresponding function interfaces of the wireless control system. The massage module includes a shoulder and neck rolling massage unit (7), a waist rolling massage unit (7) and a leg vibration massage unit (8). The smart mattress of the present invention can adjust the angle of the head and leg as desired and has a massage function. The functions of the smart mattress of the present invention are controlled in a wireless way, and they can be used separately or together. The operation is simple and the price is low. The smart mattress can be applied to various beds.