The invention relates to a mattress. The microcomputer automatic adjustable mattress proposes a mattress automatically adjusted based on the difference in the human body type, difference of the body parts, and changes of sleep postures, including: a mattresses coat, latex sponge, a telescopic device, a sensor system, a control system, a kinetic energy device and a power supply. When human sleeps, different body types have different pressure to the bed, as well as various parts of the body different pressure to the bed, the sensor system obtains these data and transmits to the microcomputer of the control system, the microcomputer receives, summarizes and analyzes the data based on procedures and obtains the command, controls the telescoping device required to adjust to ascend or reduce, and controls the adjusted amount, reasonably support the human body to attain a health and comfortable sleep. When the sleeping posture changes, the mattress, the mattress readjusts to adapt a new sleeping posture. The mattress can also perform massage to the human body according to the requirement. The invention has safety, health and comfort, simple and convenient use, quiet design, which is suitable for families, hotels, hospitals and other places.