✓ Quick answer
A gap between your mattress and bed frame usually means the mattress is smaller than the frame’s interior, the frame lacks proper support slats, or the mattress has shifted. This gap can reduce support, cause sagging, and create an uncomfortable sleeping surface. Fixing it depends on whether the issue is the frame, the mattress size, or both.
Why it happens
Three main causes create that annoying gap:
- Wrong mattress size. A full mattress on a queen frame, or a mattress that is slightly undersized due to manufacturing tolerances, will leave space on the sides or foot.
- Poor frame design. Many metal bed frames have a center support bar but no side rails or cross slats. The mattress can sag into the gap between the bar and the outer edge, creating a visible separation.
- Mattress shift. On a smooth platform or slatted frame with no lip, the mattress can slide out of place, especially with adjustable bases or during active sleep.
- Worn or broken slats. Bent or missing slats allow the mattress to dip, widening the gap at the edge.
How to check
Diagnose the problem in three steps:
- Measure the frame interior. Use a tape measure across the width and length of the frame where the mattress sits. Compare to your mattress label. A queen mattress should be 60 inches wide by 80 inches long. Any frame more than 1 inch wider or longer will cause a gap.
- Check slat spacing and condition. If your frame uses slats, they should be no more than 3 inches apart and made of solid wood or metal. Press on each slat; if one gives way or is cracked, it needs replacement.
- Look for shifting. Mark the top edge of the mattress with a piece of tape. After a week, check if it has moved more than 2 inches from the headboard or frame edge.
What to do
Fix the gap based on what you find:
- For a too-large frame: Add a mattress extender or a foam gap filler strip. These are inexpensive foam wedges that fill the space between the mattress and frame. They work best for gaps up to 4 inches.
- For missing or weak slats: Install a bunkie board or a solid plywood sheet cut to fit the frame. This provides a flat, continuous surface and eliminates sagging. You can buy a pre-cut bunkie board at most mattress stores.
- For shifting mattresses: Use a non-slip pad or rubberized mattress gripper between the mattress and frame. For platform beds, add a thin sheet of rubber shelf liner under the mattress.
- For a mismatched size: If the frame is meant for a larger bed, you need a new frame or a new mattress. A queen mattress on a king frame will always have a gap you cannot safely fill.
Common mistakes
- Using pillows or blankets to fill the gap. These compress and create a tripping hazard. They also do not support the mattress edge, so the mattress sags into the gap anyway.
- Ignoring the gap. A gap larger than 2 inches can cause the mattress edge to collapse over time, reducing usable sleep surface and voiding some warranties.
- Buying a larger mattress without measuring. A queen mattress on a full frame will overhang and bow, which is just as bad as a gap.
- Assuming all frames are the same size. “Queen” frames vary by up to 3 inches in interior width between brands. Always measure before buying a new mattress.
When a new mattress makes sense
If your mattress is over seven years old, sagging, or already uncomfortable, fixing the gap may not be worth the effort. A new mattress often comes with a better fit, especially if you choose a model designed for your specific frame type. For example, many best mattress in a box options are made with reinforced edges that resist sagging on slatted frames. If your current mattress is older than that, it may be time to replace your mattress anyway. Pairing a new mattress with a properly sized frame is the only permanent fix for a size mismatch.
| Gap cause |
Quick fix |
Cost |
| Frame too wide |
Foam gap filler strip |
$15-$30 |
| Weak or missing slats |
Bunkie board or plywood |
$20-$60 |
| Mattress shifting |
Non-slip pad |
$10-$25 |
| Wrong mattress size |
New frame or new mattress |
$100-$500+ |
Frequently asked questions
Can I use a gap filler for a memory foam mattress?
Yes, but choose a firm foam filler, not a soft one. Memory foam mattresses are already prone to edge compression. A soft filler will not provide enough support and the mattress will still sag. Look for a high-density polyurethane foam filler.
Will a gap void my mattress warranty?
It can. Most warranties require the mattress to be on a solid, flat, supportive base with slats no more than 3 inches apart. A gap caused by an improper frame may lead to sagging that the manufacturer will not cover. Check your warranty terms before deciding on a fix.
My mattress feels firmer on one side because of the gap. Is that normal?
Yes. If one side of the mattress hangs over the frame edge or is unsupported by slats, it will feel softer or bouncier than the side sitting on solid support. This uneven feeling can cause discomfort and is a sign you need to fix the gap or adjust the support surface.