We bought this for our 4 year old son who kept rolling out of his toddler bed. We pushed the open side of the bed up against the wall so this way he just climbs into bed from the foot of the bed and he can't roll out since the railings are there.