The mattress is held in place by heavy duty straps at one end of the bed. When the bed is in the upright position the mattress will not move or touch the wall. This provides clearance for you to hang artwork on the wall, which will be visible when the Murphy bed is open.