A trifold mattress (also known as a z-bed or folding mattress) is a mattress that's designed ... so those with mobility issues or back and joint pain may find it difficult to get in and out of bed.