Why height comes first

Your neck sits between your head and your shoulders. When you lie down, the pillow has to fill the space between your head and the mattress. If the pillow is too low, your head drops toward the mattress. If it is too high, your head is pushed upward and sideways. Either way, the muscles around your neck and the top of your shoulders may keep working while you sleep, when they could be resting.

Neck and shoulder discomfort often show up together because those muscles are connected. A pillow is rarely the only factor. Your mattress, your sleep position, your daily posture and your activity level all play a part. Pillow height is one variable you can change and observe, so it is a sensible place to start.

For a deeper look at the neck side of this question, see our guide on the best pillow for neck pain, or browse the Neck & Shoulder section of the Sleep Lab.

Where a cervical pillow fits in

People usually use the term “cervical pillow” for a pillow shaped to support the neck. Shape is one part of the question. Height is the other, and it is the part that decides whether your head and neck line up with the rest of your spine.

That is why a contoured pillow that is too high for you can feel just as wrong as a flat one that is too low. Before you pay for a special shape, check the height. Our article Neck Pillow: Why Height Matters More Than Shape goes into this, and Do cervical pillows work? looks at what the research can and cannot tell us.

How sleep position changes the gap

The gap between your head and the mattress is not the same in every position.

  • Side sleeping: The gap is the largest. It runs from your ear to the outer edge of your shoulder, so shoulder width matters.
  • Back sleeping: The gap is smaller, because your head rests closer to the mattress.
  • Stomach sleeping: The gap is the smallest. A high pillow here pushes your head back and up.

Our fitting data shows the same pattern. The table below is based on 300+ fittings with PillowScan between June 19 and October 30, 2026. It shows the pillow height delivered to each group.

Sleep position Median pillow height in our fittings
Side sleepers about 4.9 inches
Back sleepers about 4.1 inches
Stomach sleepers about 3.7 inches

The difference between stomach and side sleepers is about 1.2 inches. That sounds small, but your neck can notice it. Every fitting we did landed between about 3.1 and 5.7 inches.

These are medians, not targets. Your own height depends on your body and your bed. If you are not sure which position you spend most of the night in, our guide to side, back and stomach sleeping can help you sort that out. You can also start from the Sleep Positions section.

Shoulders, and why width matters

If you sleep on your side, your shoulder takes up part of the space under your head. The wider your shoulders, the more room the pillow has to fill. In our fittings, pillow height rises with shoulder width among side sleepers. The median goes from about 4.1 inches below 15.0 inches of shoulder width to about 5.3 inches above 18.1 inches.

This is also why a pillow that works for your partner may not work for you. Two people of similar height can have quite different shoulder widths. For more on this group, see Best Pillow for Side Sleepers with Neck Pain.

If your shoulder hurts when you lie on it, your pillow is only part of the picture. Our article on sleep positions for shoulder discomfort compares comfort options carefully. If pain is severe, keeps getting worse, or comes with numbness or weakness, talk to a healthcare professional.

Your mattress changes the answer

Your mattress decides how far your body sinks in, and that changes the gap. On a softer mattress, your shoulder sinks deeper, so the gap gets smaller. In our fittings, side sleepers on a soft mattress get a median of about 4.5 inches. That is about 0.4 inches lower than on a medium mattress, at about 4.9 inches. This soft-mattress group is small, with 21 fittings, so read it as a pattern worth noting and not as a rule.

If you changed your mattress or added a topper and your neck started to complain, your old pillow may no longer match. Read more in Does Mattress Firmness Affect Pillow Height? or Mattress Topper: Does It Change the Pillow Height You Need?

A simple side-sleeper check you can do tonight

You do not need special equipment. You need a phone and a few minutes.

  1. Lie on your side on your bed with your usual pillow, the way you normally fall asleep.
  2. Ask someone to take a photo from behind or from the front at head height. You can also prop your phone on a shelf and use the timer.
  3. Look at the line from the middle of your forehead, down through your nose and chin, to the middle of your breastbone. In a comfortable, neutral position, that line looks fairly straight.
  4. If your head tips down toward the mattress, the pillow may be too low. If your head tips up toward the ceiling, it may be too high.

This is a comfort check, not a diagnosis. Notice how your neck and shoulders feel in the morning, too. For more signs, see How to Tell If Your Pillow Is Too High, or Neck Pain After Sleeping: What to Check at Home.

What about material and firmness?

Memory foam, latex, down and buckwheat all feel different. But a pillow that is the wrong height for you stays the wrong height, whatever it is made of. We suggest settling the height question first and then choosing a material you find comfortable.

For more on materials, see Memory Foam Pillow: What to Check Before You Choose One and Pillow firmness for side sleepers: what evidence supports. For the numbers behind height, read Pillow height: what a number can and cannot tell you.

What this means for your pillow

  • Match the height to your position. Side sleepers usually need more height than back sleepers, and back sleepers more than stomach sleepers.
  • Take your shoulders into account. Wider shoulders generally call for a higher pillow when you sleep on your side.
  • Take your mattress into account. A softer mattress can mean a lower pillow, because your shoulder sinks in further.
  • Check height before shape. A cervical shape on a pillow that is too high or too low does not fix the gap.
  • Do not guess by feel in a store. A pillow that feels good for 30 seconds sitting up tells you little about how it works lying down all night.
  • Give a change a fair trial. If you switch pillows, give your neck and shoulders some nights to adjust, and note how you feel each morning.

A custom-fit option takes your body, sleep position and mattress into account together. The YOUP pillow is made to your personal measurements, and your Personal Pillow Code is based on your fitting. YOUP pillows range from about 3.1 to 5.7 inches in height and come with a 100-night trial. To see how a fitting works, read Custom Pillow: What It Is and How the Right Height Is Found.

Find your height in 2 minutes

You can take the PillowScan fitting on your phone (3D scan) or with a tape measure. It takes about 2 minutes, and you do not need to buy anything to try it.