The present invention provides a mattress system (1) devised to achieve a function of automatic detection, mainly comprising: a mattress (2) having a simple structure a control unit (3) equipped with a unique user interface (31) for caregivers to simultaneously adjust three major functions, namely, therapy mode, therapy intensity and comfort level and a connection pipe (4) for supplying air and power. The system (1) is further provided with a built-in auto-setting function to sense the body characteristics of the patient (39) lying on the mattress (2) and determine an effective supporting pressure range for the patient (39). By detecting a pressure difference representing the body characteristics of the patient (39) lying on the mattress (2) and comparing with the data stored in a built-in database, the system (1) can always provide the patient (39) with not only a well-proved therapeutic effect through the auto-setting function, but also an adjustable comfort level on the patients request through the user interface (31).