I thought it came with legs. In the picture it looked like it had legs. Have to find a way to attach legs so my mattress is off the ground.