The invention discloses an intelligent mattress, and particularly relates to an intelligent mattress with body position sensing and physiotherapeutic sleep aid functions. The intelligent mattress comprises a mattress base plate, a flexible array force sensor layer, a heat insulation layer, a far infrared electric heating layer, a protective layer, a knitted fabric layer, a signal acquisition control module, an intelligent terminal and a cloud server; the intelligent mattress monitors and assesses the sleep quality of a user by acquiring and analyzing pressure distribution data information, and performs infrared rehabilitation on the specific part of the user according to needs so as to improve the sleep quality of the user. By combining contact pressure measurement of a flexible noncontact interface with the latest technology of far infrared electric heating physiotherapy, the intelligent mattress is ultrathin, flexible and convenient to install and detach, has body position sensing and physiotherapeutic sleep aid functions, can be directly installed on the existing mattress without influencing the performance of the existing mattress, and provides an innovative solution for user's sleep quality monitoring, sleep index assessment, far infrared rehabilitation on the specific part, sleep aid, health condition assessment and the like.