Sleep Safety
How high should a bunk bed guardrail be?
One number, measured from the wrong place by almost everyone. Here is what the rule actually says and how to check it on the bed you already own.

The short answer
On a children’s bunk bed, the tops of the guardrails must sit no less than five inches above the top of the mattress (16 CFR Part 1513, per CPSC guidance). There must be at least two upper-bunk guardrails with at least one on each side, and the wall-side rail must run continuously from one end of the bed to the other.
The measurement everyone gets wrong
Manufacturers publish guardrail height “from the point of attachment” — that is, from the frame. The regulation measures from the top of the mattress. Those two numbers differ by exactly your mattress thickness, and that difference is where the rule gets broken.
A rail advertised as 14 inches is a 14-inch rail measured from the slats. Put an eight-inch mattress on it and you have six inches above the sleeping surface, which passes. Put a ten-inch mattress on it and you have four, which does not — and nothing about the rail changed.
Read the listing carefully
“14” safety guardrail” on a product page is a measurement of the part, not a compliance claim about your bed. It becomes a compliance question only once your mattress is on it.
How to measure it yourself
- Put the mattress you intend to use on the top bunk.
- Make the bed as it will actually be made, including any protector or topper.
- Rest a straight edge across the mattress surface so you are measuring from the top of the mattress rather than from a compressed spot.
- Measure vertically from that surface to the top edge of the guardrail. Do this on both sides.
- Five inches is the minimum. Below that, the mattress is too thick.
Do this before the first night, not after. It takes two minutes and it is the single highest-value check in this whole section.
| Mattress | Rail above the mattress | Meets the 5 in minimum? |
|---|---|---|
| 5 in foam | 9 in | Yes, comfortably |
| 6 in foam | 8 in | Yes |
| 8 in foam | 6 in | Yes |
| 9 in | 5 in | Exactly at the line |
| 10 in plush | 4 in | No |
| 6 in + 2 in topper | 6 in | Yes — but the topper counted |
What the height is for
Five inches is not arbitrary. It is roughly the amount of barrier needed to stop a sleeping child’s body rolling over the edge rather than merely up against it. A shorter rail still feels like a rail and still looks like one from the doorway, which is precisely why the failure mode is invisible.
The other two clauses matter for different reasons. Two rails, one per side, exists because a bed placed against a wall today gets moved to the middle of a room tomorrow. The continuous wall-side rail exists because the gap between a bed and a wall is an entrapment hazard, and a rail that stops short of the end leaves exactly that gap open.
If your bed fails the check
In order of preference:
- Use a thinner mattress. Almost always the right answer, almost always cheap, and a six-inch foam mattress is entirely comfortable for a child. See mattress thickness and guardrails.
- Remove the topper. If a topper pushed you over the line, that is the cheapest possible fix.
- Fit the manufacturer’s taller guardrail, if the bed’s maker sells one for that frame. This is a real option on some beds and not on most. Our rails and extensions roundup covers what exists.
- Do not improvise. A clamp-on toddler rail, a rolled blanket, a board zip-tied to the frame — none of these is a guardrail, and some create an entrapment gap that is worse than the problem.
The related rule on gaps
Height is one dimension; openings are the other. The AAP recommends a space no wider than three and a half inches between the guardrail and the side of the bunk. If your rail clears five inches but leaves a four-inch channel down the side, you have solved a fall risk and introduced an entrapment one. Check both.
Key takeaways
- Five inches, measured from the top of the mattress — never from the frame.
- The height on the box is the part's dimension, not a compliance claim about your bed.
- Toppers and thick protectors count toward mattress thickness.
- At least two rails, one per side; the wall-side rail runs end to end.
- If you fail the check, change the mattress — do not improvise a rail.
Questions parents actually ask
How high should bunk bed railing be?
No less than five inches above the top of the mattress, per 16 CFR Part 1513 as summarized in CPSC guidance.
Is the guardrail height measured from the mattress or the frame?
The regulation measures from the top of the mattress. Manufacturers usually publish from the point of attachment on the frame, so subtract your mattress thickness from their figure.
Do both sides of a top bunk need a guardrail?
Yes — at least two guardrails with at least one on each side. The wall-side rail must also run continuously end to end.
My bunk only came with one guardrail. Is that legal?
Not for a bed sold for children’s use. Check whether a second rail was a separate item in the box, and contact the manufacturer if it is genuinely absent.
How wide can the gap in a bunk bed guardrail be?
The AAP recommends no wider than three and a half inches between the guardrail and the side of the bunk.
Sources
Read next
- Mattress thickness and guardrails
The other half of the same arithmetic.
- Best bed rails and guardrail extensions
What to fit if your bed genuinely needs more rail.
- Bunk bed safety standards
Where this rule comes from, and what else is in it.
Back to Sleep Safety.