Three in the morning is a bad time to be awake, and for a long stretch there it was my regular appointment. I would roll onto my side, and within twenty minutes my top knee would slide forward, my hip would twist, and the dull ache in my lower back would get loud enough to finish the job. I am sixty-six, I fixed heavy equipment for a road-construction outfit for thirty-one years, and my back has opinions about how I sleep. June, my wife, is a light sleeper, so every one of those rollovers cost her too.

What I did for years was fold a regular bed pillow in half and jam it between my knees. It worked for about an hour. Then it slid out, or flattened, or I rolled over and dragged it with me. A rolled towel was worse. About six months ago I started using the Contour Legacy Leg and Knee pillow, and the difference was not that it put me to sleep. It was that it kept my legs in the same relationship to each other all night, which stopped me from waking up to fix them. That is the whole trick, and the rest of this is the five things I had to get right before it actually worked.

The Pillow That Ended My 3 A.M. Leg Realignment

Memory foam, a washable cover, and a shape built to hold both legs and knees instead of just filling the gap. Six months in, it is the one thing in my bedroom I would replace first.

Check Today's Price on Amazon →

None of these steps are complicated. Four of them cost nothing. But a knee pillow on its own is just a piece of foam, and if you set it up the way I did on night one, you will decide it does not work and go back to the folded bed pillow. Here is what to do instead.

Step 1: Fit the Pillow Before You Get Into Bed

It took me three nights to figure out that I was doing this backwards. I would climb into bed, get my head settled, and then start hunting around in the dark for the leg pillow, which usually meant knocking it onto the floor and having to get up. Now I put it on the mattress first, right about where my knees will land, and then I get in.

Placement matters more than you would think. The pillow is about ten inches long and nine and a half inches wide, which is close to the distance from your knee to your ankle on a grown adult. You are not wedging it under your knee like a bolster. You want it running along the inside of both legs so your knees and ankles have something to rest against when the top leg comes down.

The first week I kept a small tape measure in the nightstand drawer, which sounds ridiculous until you have spent ten minutes in the dark trying to guess where your knees are. Ten inches from the edge of the mattress put the pillow close to right for me. I also started pulling the fitted sheet tight over it, which keeps it from sliding when I turn over. The foam is soft enough that the sheet does not fight it.

One night I put it too far down toward my ankles and woke up with my knees touching again. Too high, up near my thighs, and it pushed my top leg out at an angle that made my hip ache. The sweet spot is directly between the knees, with the long side running along your legs. It weighs about seven ounces, so it does not drag the sheet around when you move, and it is listed as soft rather than dense, which means it gives a little instead of acting like a block of wood. The first night I used it I expected to hate the feel of it. I did not. I hated that I could not find it in the dark, which is why I now set it up before I lie down.

The leg and knee pillow held between the knees of a person lying on their side in bed

Step 2: Stack Your Knees Instead of Clamping Them

The thing wrecking my sleep was not my knees touching. It was that my top leg would drop forward, so my top knee ended up in front of my bottom knee, my hip rotated, and my lower back took the twist. If you sleep on your left side, your left hip rolls forward and everything above it follows. By three in the morning the whole chain was complaining.

What fixed it was keeping the top leg stacked over the bottom one, with the pillow supporting both. The Contour pillow is built to hold the top leg and knee together rather than just fill the gap between them, and that is the part that made the difference for me. My knees stay parallel. My ankles stay roughly in line. The twist stops before it starts.

February was the test month. I had been at it about three weeks when June told me I had stopped thrashing. She is a light sleeper, so she notices. Before the pillow I would roll, adjust, roll back, and she would get the elbow half the time. After, the only sound was the fan. I also learned to put the pillow in before I got comfortable, not after. If you wait until you are already half asleep, you will do a lazy job of it and wake up at two with your knees crossed.

You can check yourself before you fall asleep. Reach down and feel whether your top knee is ahead of your bottom knee. If it is, use your top foot to nudge the leg back until the two are lined up. After a week or so you will do it out of habit without thinking about it.

Step 3: Get the Pillow Under Your Head Right Too

Here is the part I got wrong for the first two weeks. I added the leg pillow and left everything else alone, and my shoulder started bothering me. That is because anything between your knees changes the angle through your hips, so your head and neck end up slightly different than they were before.

I use the Coop Home Goods Original adjustable pillow, and I had already taken fill out of it twice to get the height right for my shoulder. After about a week with the leg pillow I pulled another handful of fill out. An adjustable pillow makes that easy. If you are using a fixed pillow that sits too tall, no amount of fussing with the leg pillow will fix the ache in your neck.

My right shoulder has been the cranky one since the nineties, from reaching over my head with a wrench more times than I can count. That is why I went to an adjustable pillow in the first place. With the leg pillow in place, I ended up with one fewer handful of fill than before, and the shoulder quieted down within a week. If you wake up with a numb arm, that is usually the pillow under your head being too tall, not the one between your knees. Fix the top one first, then judge the bottom one.

The rough test is simple. Lie on your side with everything in place and see whether your nose, your breastbone and your belt line all point the same direction. If your chin is tipped down or your head is cranked up, the pillow under it is wrong and you will feel it by morning.

A quiet bedside table at night with a glass of water, a small clock turned toward the wall and a folded blanket at the foot of the bed

Step 4: Turn Down Everything Else That Wakes You

The leg pillow solved one problem. It did not solve three in the morning. I still wake up most nights around then. What changed is that I am no longer waking because my own legs are twisted, and it is a good deal easier to get back to sleep from a neutral position than from a sore one.

The fix for the rest of it was boring. Our bedroom window faces east, and in summer the light comes in early enough to count as a wake-up call. Last fall I hung blackout curtains on that window. I also started wearing a sleep mask, which now goes in the truck camper with me on weekend trips.

June is the light sleeper in the house, so the sound machine on her side of the bed does double duty. It covers my snoring for her and the five a.m. garbage trucks for me. The ceiling fan runs year round. The curtains went up on a Saturday in October, and the difference the next morning was enough that June asked what I had done. The sleep mask came in the spring, mostly for the truck camper, but I use it at home too when the moon is doing something dramatic through the gap at the edge of the curtain. The fan stays on low. The sound machine runs on the rain setting, which is the least annoying one we tried. None of this made me sleep eight hours. It made the wake-ups shorter, which is the realistic goal at sixty-six. None of this is clever. It is just removing the things that give you a reason to open your eyes.

Step 5: Give It Two Weeks and Keep the Cover Clean

The first two nights with a pillow between my knees felt strange, and I want to be honest about that, because I nearly quit. My hips were not used to staying square. By the end of the first week I stopped noticing it. By the end of the second week I noticed when it was missing, which is a better test than whether I liked it on night one.

Mine gets used every night, so the cover gets washed about every other week. The listing says the cover is 62 percent polyester and 38 percent Lyocell and that it is washable, and it has come out of the machine fine each time. I air-dry it, mostly because I do not want to find out what a hot dryer does to a foam pillow.

Laundry day is every other Sunday, and the cover goes in with the sheets. I have washed it maybe a dozen times now and the fabric has not pilled or gone thin. I air-dry it on the porch rail if the weather is decent, which in Olympia is a gamble from October to April, so sometimes it just hangs over the shower rod. It has been in the truck camper twice, on a weekend trip to the peninsula, and it packs flat enough to fit in the drawer under the bench. That is more than I can say for the bed pillow I used to haul along.

The other thing worth knowing is that foam has a break-in period. It is listed as soft and it stayed soft, but after a couple of weeks it had taken on the shape of my legs rather than springing back flat every morning. There is a one-year manufacturer warranty if something goes wrong with it, which is more than I can say for the folded bed pillow I leaned on for years. The Contour has held up better than I expected for something this small and this boring.

What Else Helps

A pillow can only fix what happens between your knees. If you are waking at three every night, some of it is going to be everything else. The things that helped me most were not purchases. Going to bed at roughly the same time, weekends included. Keeping the bedroom cool enough that I actually want the blanket. Getting up and reading in the other room for twenty minutes instead of lying there doing arithmetic about how many hours are left.

The other one is worth saying plainly. I stopped checking the clock. Rolling over to read the time at three in the morning tells you nothing useful and makes it harder to drift off. If you are going to spend money on sleep, spend it on whatever is actually waking you up, and for me that was the twist in my hips from sleeping with my knees out of line. A knee pillow is a small, unglamorous object. It also happens to be the one thing in my bedroom I would replace first.

The pillow did not put me to sleep. It stopped me from waking up to fix my own legs, and that turned out to be most of the problem.

Start With the Thing That Wakes You Up

Six months in, the Contour is between my knees every night. Memory foam that holds its shape, a cover you can wash, and a one-year manufacturer warranty. Set it up before you get into bed and give it two weeks.

Check Today's Price on Amazon →