No rail, just pillows. I put pillows on the floor also, just in case. He seems to do fine. He does not move at all in hisnew bed. He slept from 11:00 last night to 11:00 this morning. Yeah I know late bedtime, but he just stays up with me, makes things easier.