A medical air mattress has a mattress body, a lower bedspread, an upper bedspread and a guardrail unit. The mattress body is formed by multiple air cells parallel arranged in an air cell row. The upper bedspread covers the mattress body and has two guardrail sleeves formed on the upper bedspread. The guardrail unit has multiple guardrail air cells mounted respectively in the guardrail sleeves. Since the guardrail sleeves are formed on the upper bedspread, the guardrail sleeves from each opposite side of the upper bedspread will draw each other to maintain the guardrail sleeves in position when pressed. Therefore, the guardrail sleeves do not fall down when pressed to remain providing optimal protection purpose.