Works for mattress but middle legs can be problem if not careful while getting into bed. Hard on the toes if accidentally hitting the bar .