Can't Sleep After Surgery? What Helps and When to Call Your Care Team

David Feldman, MD
David Feldman, MD
Author
November 16, 2026
10 mins
Can't Sleep After Surgery? What Helps and When to Call Your Care Team

Sleep is an important part of recovering after surgery. It supports the body's normal healing processes, helps regulate pain, and plays a role in immune function. But getting a good night's sleep after an operation isn't always easy.

It's very common for patients to have trouble sleeping during the first several days after surgery. Pain, medications, changes in routine, and the physical stress of surgery can all contribute.

The good news is that for many patients, these disruptions improve as recovery progresses. Understanding what's affecting your sleep and making a few adjustments can help.

At Dimer Health, we help patients navigate these questions after discharge, with clinicians available 24/7 when concerns arise.

Why Is It So Hard to Sleep After Surgery?

You might expect to sleep better once you're home from the hospital. After all, you're back in your own bed, without the interruptions that are common during a hospital stay.

But many patients find that the first few nights at home are more difficult than expected.

Pain may become more noticeable as anesthesia wears off. You may have to sleep in a different position to protect an incision. Medications can affect your normal sleep patterns, and it's not unusual to feel anxious about your recovery.

All of these factors can make it harder to fall asleep or stay asleep.

Having trouble sleeping doesn't necessarily mean something is wrong with your recovery. It does mean it's worth understanding what may be contributing and what you can do to make yourself more comfortable.

Common Reasons You Can't Sleep After Surgery

There usually isn't one single reason patients have trouble sleeping after surgery. More often, several factors are contributing at the same time.

  • Pain and discomfort: Incisional pain, swelling, muscle soreness, or difficulty finding a comfortable position can interrupt sleep.
  • Medications: Opioid pain medications, corticosteroids, and certain other prescriptions can affect sleep quality or make it harder to fall asleep.
  • Changes in your normal routine: Hospital stays often disrupt normal sleep schedules. It can take some time to get back into a regular pattern once you're home.
  • Anesthesia and the stress of surgery: Surgery places significant physical stress on the body, and some patients experience temporary changes in sleep during the recovery period.
  • Anxiety about recovery: It's common to have questions about whether symptoms are normal, whether an incision is healing properly, or what to expect over the next several days. Those concerns can become more noticeable at night.
  • Sleeping position: Depending on the procedure, you may need to sleep on your back, with your head elevated, or in another position that isn't typical for you.

Some patients also report night sweats after surgery. These can have several causes, including medications and changes in the body's response to surgery. Persistent or significant night sweats, particularly when accompanied by fever or other symptoms, should be discussed with your care team rather than automatically attributed to anesthesia.

For many patients, sleep gradually improves as pain decreases, medications change, and normal activity resumes.

What Can Help You Sleep Better After Surgery?

There are several practical things you can do to make sleep more comfortable during recovery.

1. Stay Ahead of Your Pain

One of the most important things is making sure your pain is reasonably controlled before you go to bed.

If your surgical team prescribed a medication schedule, follow it rather than waiting until you're significantly uncomfortable.

You can also ask your care team whether the timing of your medications can be adjusted to provide better coverage overnight.

Don't take extra medication or change your dosing schedule without checking with your clinician.

2. Find a Comfortable, Supported Position

Your sleeping position may need to change temporarily depending on the type of surgery.

Pillows can be very helpful for supporting an incision, keeping an affected limb elevated, or reducing strain on sore muscles.

For example, patients recovering from abdominal surgery may feel more comfortable with a pillow supporting their abdomen, while some orthopedic procedures require specific positioning precautions.

Follow the instructions from your surgical team, particularly if you've been told to avoid certain positions.

3. Get Some Daylight and Gentle Movement

Your body's sleep-wake cycle responds to daylight and activity.

When your surgeon has cleared you to move around, short walks during the day can help support circulation, mobility, and a return to your normal routine.

Getting some natural daylight, particularly in the morning, may also help regulate your sleep schedule.

You don't need to push yourself. During recovery, the goal is gentle, appropriate activity rather than strenuous exercise.

4. Make Your Sleeping Environment Comfortable

A few simple adjustments can make a difference.

Keep your bedroom at a comfortable temperature, limit light and noise, and try to maintain a consistent bedtime.

If you're experiencing night sweats, lightweight bedding and breathable clothing may help you stay comfortable.

Try to limit screen time immediately before bed, especially if you're having trouble falling asleep.

5. Be Careful With Caffeine, Alcohol, and Sleep Aids

Caffeine later in the day can interfere with sleep, even if you don't always notice its effects.

Alcohol is particularly important to avoid when taking opioid pain medications, sedatives, or other medications that can cause drowsiness, because combining them can be dangerous.

And before taking melatonin, an over-the-counter sleep aid, or another medication to help you sleep, check with your surgical team or a clinician.

Some sleep aids can interact with medications prescribed after surgery or increase sedation and fall risk.

6. Allow Yourself to Rest During the Day

It's normal to feel more tired than usual after surgery.

Short naps can be helpful, particularly during the first several days of recovery.

If you're having trouble sleeping at night, however, very long or late-afternoon naps may make it more difficult to fall asleep at bedtime.

The goal is to balance the rest your body needs with gradually returning to a regular sleep schedule.

When Sleep Problems May Be a Sign of Something More Serious

Some sleep disruption is expected after surgery. What concerns us more is when difficulty sleeping is accompanied by symptoms that could indicate a complication.

Contact your care team promptly if you experience:

  • Fever, particularly when accompanied by significant night sweats.
  • Increasing pain that is not improving with your prescribed treatment plan.
  • New or worsening swelling, warmth, or pain in one leg.
  • New snoring, gasping, or breathing interruptions during sleep, particularly if you're taking opioid medications.
  • New confusion, unusual behavior, or significant changes in alertness.
  • Persistent sleep problems that are worsening rather than gradually improving.

Sudden shortness of breath, chest pain, fainting, severe difficulty breathing, or an inability to wake someone normally are medical emergencies. Call 911.

The important point is that you shouldn't have to decide on your own whether a new symptom is part of normal recovery or something that needs medical attention.

If something doesn't seem right, contact a clinician rather than waiting for your next scheduled follow-up appointment.

Getting Help When You Can't Sleep After Surgery

One of the more difficult parts of recovering at home is dealing with questions that come up outside normal office hours.

You may wake up uncomfortable and wonder whether you can safely take another pain medication. You might notice a new symptom or have concerns about how your incision is healing.

Sometimes the answer is reassurance and a simple adjustment to your recovery plan. Other times, a clinician may need to evaluate what's happening and determine whether additional treatment is necessary.

Having access to medical guidance can make a significant difference.

Dimer Health provides patients with 24/7 access to clinicians through our physician-led virtual medical practice. Our team can help assess symptoms, answer medication questions, and determine when additional evaluation or escalation is needed.

We work alongside your existing surgical and primary care teams to support your recovery after discharge.

How Sleep Supports Healing After Surgery

Sleep does more than help you feel rested. It plays an important role in several processes your body relies on during recovery.

Sleep Supports Tissue Repair

During sleep, your body carries out important functions involved in tissue repair and recovery.

Growth hormone, which is released in significant amounts during deep sleep, helps regulate tissue growth and repair. Sleep also supports normal protein synthesis and other processes involved in healing.

Research has demonstrated connections between sleep, growth hormone secretion, and wound healing, although the relationship is complex and varies depending on the patient and type of surgery.

The practical takeaway is that getting adequate rest gives your body the opportunity to carry out these normal recovery processes.

Sleep Helps Support Immune Function

Your immune system is actively involved in healing after surgery.

Adequate sleep supports normal immune function, while ongoing sleep deprivation can interfere with the body's ability to regulate inflammation and respond to illness.

That doesn't mean one poor night's sleep will cause an infection or prevent your incision from healing. But consistently getting too little sleep can make recovery more difficult.

Sleep and Pain Affect Each Other

This is something we see frequently in patients recovering from surgery.

Pain makes it harder to sleep, and poor sleep can make pain feel more intense the following day.

Certain pain medications can also affect sleep quality. Opioids, for example, may cause drowsiness but can disrupt normal sleep patterns and, in some patients, affect breathing during sleep.

That can create a frustrating cycle: you're uncomfortable, you don't sleep well, and the next day you're even more sensitive to discomfort.

The goal is to manage pain appropriately while also creating conditions that support better sleep.

Sleep Is Especially Important for Older Adults

Older adults may be particularly sensitive to sleep disruption during recovery.

Poor sleep can contribute to daytime fatigue, difficulty concentrating, and problems with balance. In some patients, particularly older adults recovering from major surgery, significant changes in sleep may occur alongside postoperative confusion or delirium.

New confusion, unusual behavior, or a sudden change in alertness should not simply be attributed to poor sleep. Those symptoms deserve prompt medical evaluation.

Rest Is Part of Your Recovery Plan

Good sleep is an important part of healing after surgery, but it's also common for sleep to be disrupted during the early stages of recovery.

For many patients, sleep improves as pain decreases, medications are adjusted, and the body returns to its normal routine.

In the meantime, appropriate pain management, comfortable positioning, gentle activity, and consistent sleep habits can all help.

More than 6,000 patients across eight states* have received care through Dimer Health, with a reported patient satisfaction rating of 4.9 out of 5.

But the bigger point is that patients shouldn't have to navigate recovery alone.

Whether you're having trouble sleeping, managing pain, or wondering if a new symptom is normal, having a clinician available to answer questions can help you recover with greater confidence.

Frequently Asked Questions About Sleep After Surgery

Why can't I sleep after surgery?

There are several possible reasons, including pain, medication side effects, changes in sleeping position, anxiety, and disruption of your normal routine. It's common for more than one factor to contribute. For many patients, sleep gradually improves as recovery progresses.

How long does insomnia after surgery usually last?

That depends on the type of surgery, your overall health, medications, and other factors. Many patients notice improvement over the first several days to weeks, but recovery timelines vary. Persistent or worsening sleep problems should be discussed with your care team.

Does sleep help you heal faster after surgery?

Adequate sleep supports normal tissue repair, immune function, and pain regulation. While it's difficult to predict exactly how sleep affects an individual patient's healing time, getting enough rest is an important part of recovery.

Is it normal to sleep a lot after surgery?

Yes, increased fatigue and a greater need for rest can be common after surgery. Your body is recovering from a significant physical event, and some medications can also cause drowsiness. However, excessive sedation, difficulty waking someone, or slow or abnormal breathing requires immediate medical attention.

Can I take melatonin after surgery?

Melatonin may be appropriate for some patients, but you should check with your clinician before taking it, particularly if you're using opioid pain medications, sedatives, or other prescriptions. The safest approach depends on your medical history and current medications.

Why am I sweating at night after surgery?

Night sweats can occur for several reasons, including medication effects and changes associated with recovery. They shouldn't automatically be assumed to be a normal effect of anesthesia. If they're persistent, significant, or accompanied by fever or other symptoms, contact your care team.

What is the best sleeping position after surgery?

That depends on your procedure. Some patients need to keep a limb elevated, avoid certain positions, or sleep with their upper body supported. Follow your surgeon's instructions and use pillows as needed for comfort and stability.

Can pain medications affect my sleep?

Yes. Opioids can cause drowsiness but may also disrupt normal sleep and affect breathing during sleep. Other medications, including certain steroids, can make it harder to fall asleep. If you suspect a medication is affecting your sleep, discuss it with your care team rather than stopping or adjusting it on your own.

Should I nap during the day while recovering?

Short naps are generally fine and may help with fatigue. If nighttime sleep is becoming difficult, try to avoid long naps late in the day. Your need for rest will vary depending on your procedure and stage of recovery.

Why am I still exhausted weeks after surgery?

Fatigue can persist for several weeks after some procedures, particularly major surgeries. However, ongoing or worsening exhaustion can also have other causes, including anemia, medication effects, sleep problems, or complications. If you're not gradually improving, let your care team know.

When should I contact a clinician about trouble sleeping after surgery?

Contact your care team if sleep problems are persistent or worsening, or if they occur alongside concerning symptoms such as fever, significant pain, new confusion, leg swelling, or changes in breathing.

If you're a Dimer Health patient, our clinicians are available 24/7 to help assess concerns during recovery. For potentially life-threatening symptoms, call 911.

*Patient count at time of writing.

Dimer Health bordered card graphic.
Portrait of David Feldman, MD.
David Feldman, MD
Author