
2 min read · Updated
Sleep often gets harder as pregnancy goes on. Leg cramps, restless legs, heartburn, needing the toilet and a growing bump all take their toll. You are not alone, and simple changes can help.
Leg cramps
Sudden, painful tightening of the calf muscle, often at night, is common in the second and third trimesters. The exact cause is unclear, but may be related to circulation, muscle fatigue and changes in minerals.
What helps
- Stretch your calf before bed: stand a metre from a wall, lean forward with hands on the wall, heels flat, and hold for a few seconds
- Stay active during the day, and avoid standing for too long
- Drink enough water
- Massage the calf and flex your foot upwards when a cramp strikes
- Use a warm bath or heat pad in the evening
- Wear comfortable shoes
Evidence for magnesium supplements is mixed, so ask your midwife before taking any.
Restless legs
An urge to move your legs, especially in the evening, that eases when you do, is more common in pregnancy. Low iron may be a factor, so ask your midwife for a blood test. Gentle exercise, a warm bath, massage and avoiding caffeine may help.
Other sleep problems
- Finding a comfortable position: from about 28 weeks, going to sleep on your side is advised. Use pillows between your knees, under the bump and behind your back, or a pregnancy pillow
- Heartburn: avoid large or late meals, and raise your head and shoulders with pillows
- Toilet trips: cut down on drinks in the evening, but drink plenty during the day
- Racing thoughts and anxiety: write down your worries, try relaxation, breathing or a short guided meditation
- Vivid dreams: common and harmless, and linked to hormones
Sleep habits
- Keep a regular bedtime and wake time
- Avoid caffeine in the afternoon and evening
- Have a calming bedtime routine, such as a bath or reading
- Keep your bedroom cool, dark and quiet
- Avoid screens before bed
- Take short naps if you need them, but not late in the day
- Exercise regularly, but not right before bed
When to talk to a professional
Tell your midwife or GP if you have persistent insomnia, low mood or anxiety, loud snoring or pauses in breathing, severe cramps or leg pain with swelling in one leg, or if sleep problems affect your daily life.
Frequently asked questions
Is it harmful to sleep on my back?
From the third trimester, it is advised to go to sleep on your side, which is linked to a lower risk of stillbirth. If you wake on your back, simply roll over.
Can I take sleeping tablets?
Check with your doctor or pharmacist before taking anything.
Will sleep improve after birth?
It will change, with newborn feeds, so rest when you can.
Sources: NHS guidance on leg cramps and sleep in pregnancy, and Tommy's information on sleep position.
This article is for general information, not medical advice. If you're worried about your health, talk to a doctor or other clinician.


