Pain after surgery
Pain after surgery is the soreness and discomfort you feel as your body heals from an operation, which usually eases over days to weeks.
Clinician view: includes diagnostic criteria, management and safety detail.

Overview
Almost everyone has some pain after surgery. Doctors call this postoperative pain, which simply means pain after an operation. It happens because surgery cuts or stretches skin, muscle, bone and other tissues, and your body reacts with swelling and sensitivity while it heals.
Pain after surgery is expected, but it should be manageable. Good pain control is not only about comfort. When your pain is under control, you can breathe deeply, cough, get out of bed, walk and sleep. These things help you heal faster and lower the chance of problems such as lung infections and blood clots.
For most people, the pain is worst in the first 2 to 3 days and then gets steadily better. How long it lasts depends on the type of surgery. Pain after a small skin procedure may fade in a few days, while pain after a joint replacement or major belly or chest surgery can take several weeks or longer to settle.
A small number of people keep having pain for months after the wound has healed. This is called chronic postsurgical pain, and it is treated a little differently from short-term pain.
What it feels like
Pain after surgery can feel different from person to person and from one operation to another. You may notice:
- Soreness, aching or throbbing around the cut (incision)
- Sharp pain when you move, cough, sneeze or laugh
- Stiffness or tightness in muscles near the surgery site
- Burning, tingling, numbness or electric-shock feelings, which can happen when small nerves near the incision are irritated
- Sore throat after a breathing tube was used during general anesthesia
- Shoulder pain after keyhole (laparoscopic) surgery on the belly, caused by the gas used to inflate the belly during the operation
- Headache, backache or general body aches from lying still on the operating table
Pain often comes with tiredness, poor sleep and low mood in the first days. These usually improve as the pain eases.
Chronic pain after surgery
If pain carries on for more than about 3 months, or comes back after the wound has healed, it may be chronic postsurgical pain. It often has a burning or shooting quality, or the skin near the scar may feel very sensitive to touch. A special type is phantom limb pain, which is pain that feels as if it comes from a part of the body that has been removed, such as after an amputation.
Causes
During surgery, tissues are cut, stretched or moved. Your body responds with inflammation, the natural healing response that brings extra blood, fluid and immune cells to the area. Inflammation causes swelling, warmth and tenderness, and it makes nearby nerves more sensitive.
Other things that can add to pain after surgery include:
- Drains, tubes or stitches
- Muscle spasms around the surgery site
- Swelling and bruising
- Constipation, gas or a swollen belly, especially after belly surgery or while taking opioid pain medicines
- Nerve injury during surgery, which is a key cause of long-lasting pain
Risk factors
Some people are more likely to have strong pain after surgery or pain that lasts longer. Risk factors include:
- The type of surgery: operations on the chest, breast, spine, large joints such as the knee, and amputations tend to be more painful
- Having a lot of pain before surgery, or a long-term pain condition
- Regular use of opioid medicines before surgery, which can make it harder to control pain afterward
- Anxiety, depression or a strong fear of pain
- Younger adult age
- Poorly controlled pain in the first few days after surgery, which raises the chance of chronic pain later
- Complications such as infection or bleeding
If any of these apply to you, tell your surgical team before your operation. They can plan your pain control ahead of time.
How pain is checked
There is no blood test or scan that measures pain. Your care team relies on what you tell them. You will often be asked to rate your pain on a scale from 0 (no pain) to 10 (the worst pain you can imagine). Children and people who find numbers hard may use a scale of faces instead.
Your team will also ask whether pain stops you from breathing deeply, coughing, moving or sleeping. This helps them decide whether your pain control is good enough, not just how high the number is.
If pain is much worse than expected, suddenly changes, or comes with fever, redness, swelling or other new symptoms, your team may examine the wound and order tests, such as blood tests or imaging, to look for a complication like infection, bleeding or a blood clot.
Treatment
Most people do best with a combination of treatments. Using several types of pain relief together, each working in a different way, is called multimodal pain control. It often gives better relief with fewer side effects and less need for opioids.
Medicines that are not opioids
- acetaminophen (also called paracetamol) eases mild to moderate pain and is often taken on a regular schedule after surgery
- Anti-inflammatory medicines (NSAIDs) such as ibuprofen, naproxen or celecoxib reduce pain and swelling. They are not right for everyone, for example people with some kidney, stomach or heart problems
- After eye surgery, anti-inflammatory eye drops such as bromfenac may be used to ease pain and inflammation in the eye
Local anesthetics and nerve blocks
Local anesthetics such as bupivacaine and ropivacaine numb a part of the body. They may be injected into the wound, around a nerve (a nerve block), or given through a thin tube in the back (an epidural). A nerve block can keep a limb numb for many hours, sometimes longer if a small tube is left in place.
Opioid medicines
For stronger pain, especially in the first few days, your team may give an opioid such as oxycodone, hydromorphone, morphine or hydrocodone. In hospital, you may have a pump that lets you press a button to give yourself a small, safe amount through a drip. This is called patient-controlled analgesia. nalbuphine is a different, mixed-action type of opioid that is sometimes given by injection in hospital.
Opioids work well for short-term severe pain, but they can cause drowsiness, nausea, constipation, itching and slowed breathing. They can also lead to dependence and misuse if used for a long time. Most people need them for only a few days after surgery. Your team will usually suggest stepping down to non-opioid medicines as soon as you can.
Other measures
- Ice packs or cold therapy to reduce swelling, if your surgeon agrees
- Raising the affected arm or leg
- Gentle movement and walking, as advised
- Physiotherapy (physical therapy) to restore strength and movement
- Relaxation, slow breathing and distraction, such as music
Treating chronic pain after surgery
Long-lasting pain is often managed by a pain specialist. Treatment may include medicines that calm overactive nerves, such as gabapentin, pregabalin or amitriptyline, along with physiotherapy, psychological support and sometimes injections. Long-term opioids are generally not recommended for this kind of pain.
Managing pain at home
Before you leave hospital or the surgery centre, make sure you understand your pain plan. Ask which medicines to take, when to take them, and what to do if they are not working.
- Stay ahead of the pain. In the first few days, taking your medicines on schedule often works better than waiting until pain becomes severe.
- Take medicines exactly as directed. Do not take more than the label or your clinician says. Many cold and flu products also contain acetaminophen, so check labels to avoid taking too much.
- Be careful with opioids. Do not drink alcohol, drive or use machines while taking them. Do not combine them with sleeping pills or other sedating medicines unless your clinician has approved it.
- Prevent constipation. Drink fluids, eat fibre if you can, and ask about a stool softener or laxative if you are taking opioids.
- Keep moving gently. Short walks help circulation and healing. Follow your surgeon's advice on lifting and activity.
- Protect the wound. Holding a pillow against a chest or belly incision when you cough or sneeze can ease pain.
- Store opioids safely and get rid of leftovers. Keep them locked away from children, teens and visitors. Return unused tablets to a pharmacy or drug take-back site.
Expect your pain to slowly improve each day. If it gets worse instead of better, contact your care team.
Complications
Pain itself can lead to problems when it is not well controlled. Shallow breathing can cause parts of the lungs to collapse or become infected, and staying in bed raises the risk of blood clots and muscle weakness. Poor sleep and stress can also slow recovery.
Pain medicines can have side effects too. Opioids can cause constipation, confusion, falls and, rarely, dangerously slow breathing. NSAIDs can cause stomach bleeding or kidney problems in some people.
New or worsening pain can be a sign of a surgical complication, such as a wound infection, bleeding, a leak inside the belly, or a blood clot in the leg or lungs. This is why it is important to report pain that does not follow the expected pattern.
Outlook
For most people, pain after surgery eases steadily over days to weeks and goes away as the body heals. Some ache or tenderness near the scar can last longer, particularly with changes in weather or activity, but it usually fades.
Chronic postsurgical pain affects a minority of people, and the chance depends a lot on the type of operation. It can often be improved with the right treatment, even if it does not fully go away.
Prevention and planning ahead
You cannot avoid all pain after surgery, but you can help make it easier to manage:
- Talk with your surgeon and anesthesiologist before surgery about your pain control plan, including nerve blocks if they are an option
- Tell them about all medicines you take, including over-the-counter products and supplements, and any past problems with pain medicines
- Let them know if you already take opioids or have a long-term pain condition
- Ask how much pain to expect and for how long
- Stop smoking before surgery if you can, as it helps wound healing
- Arrange help at home for the first days after you leave hospital
In the United States
In the United States, unused opioids can be returned at DEA-registered drug take-back sites, many pharmacies, and on National Prescription Drug Take Back Days. Naloxone nasal spray is available over the counter. Some states limit the number of days an opioid can be prescribed for acute pain.
Assessment
Assess pain regularly with a validated tool (numeric rating scale, verbal or faces scale; behavioural tools such as the CPOT or PAINAD in patients unable to self-report). Prioritise functional goals: ability to deep breathe, cough, mobilise and sleep. Reassess after each intervention and monitor sedation (e.g. POSS or RASS) and respiratory rate, particularly with opioids. Pain that is disproportionate, escalating or atypical warrants evaluation for surgical complications (anastomotic leak, compartment syndrome, haematoma, infection, VTE, epidural haematoma or abscess).
Management
The APS/ASA/ASRA guideline (Chou et al., 2016) and procedure-specific PROSPECT recommendations support multimodal, opioid-sparing analgesia, incorporated into enhanced recovery (ERAS) pathways.
- Baseline: scheduled acetaminophen plus an NSAID or COX-2 inhibitor unless contraindicated (renal impairment, active GI bleeding risk, some cardiovascular disease, bleeding concerns, CABG for NSAIDs).
- Regional anaesthesia: wound infiltration, peripheral nerve or fascial plane blocks, or neuraxial techniques with bupivacaine or ropivacaine where appropriate. Observe maximum local anaesthetic doses and be prepared to treat LAST (lipid emulsion).
- Adjuncts: dexamethasone, intraoperative ketamine or IV lidocaine in selected patients. Routine perioperative gabapentinoids are no longer favoured because of sedation and respiratory depression with limited benefit.
- Opioids: for moderate to severe pain not controlled by the above; prefer oral immediate-release agents, IV PCA when oral is not feasible. Avoid basal PCA infusions in opioid-naive patients. Avoid codeine and tramadol in children under 12, in under-18s after tonsillectomy or adenoidectomy, and in known ultra-rapid CYP2D6 metabolisers; avoid in breastfeeding.
Patients on long-term opioids or buprenorphine should generally continue baseline therapy with additional multimodal analgesia; involve acute pain or addiction services early.
Discharge and prescribing
Per the CDC 2022 Clinical Practice Guideline for Prescribing Opioids for Pain, prescribe the lowest effective dose of immediate-release opioid for the expected duration of severe pain, often a few days or less, tailored to the procedure and the patient's recent inpatient opioid requirement; reassess if pain persists longer than expected. Avoid extended-release opioids for acute pain. Counsel on safe storage and disposal, use caution with (and generally avoid) co-prescribing benzodiazepines or other CNS depressants, and consider naloxone for patients at higher overdose risk.
Chronic postsurgical pain
Defined (ICD-11, IASP) as pain developing or increasing after surgery, persisting beyond 3 months, after exclusion of other causes. Risk is highest after thoracotomy, mastectomy, amputation, hernia repair and total knee arthroplasty. Often neuropathic: consider gabapentinoids, tricyclics or SNRIs, physiotherapy and psychological approaches; refer to pain services. Monitor for persistent opioid use.
When to get medical help
Contact your surgeon or care team if:
- Your pain is getting worse instead of better, or your medicines are not controlling it
- You have a fever, or the wound becomes more red, swollen, hot, or leaks pus or bad-smelling fluid
- You have new swelling, pain or warmth in one leg, especially the calf
- You have strong side effects from pain medicines, such as vomiting, severe constipation or feeling very confused
- Pain is still affecting your daily life weeks to months after surgery
Go to the emergency department or call emergency services if you:
- Have chest pain, sudden shortness of breath, or cough up blood
- Have sudden, severe belly pain, especially with a hard, swollen belly or repeated vomiting
- Are very drowsy and hard to wake, or breathing very slowly or shallowly, which can be a sign of opioid overdose
- Have heavy bleeding from the wound
- Have sudden weakness, numbness or loss of control of your bladder or bowels after spine surgery or an epidural
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Postoperative Pain. meshb.nlm.nih.gov
- MedlinePlus: Pain. medlineplus.gov/pain.html
- MedlinePlus: Pain relievers. medlineplus.gov/painrelievers.html
- Chou R, et al. Management of postoperative pain: a clinical practice guideline from the American Pain Society, ASRA and ASA. J Pain 2016. doi.org/10.1016/j.jpain.2015.12.008
- CDC: Clinical Practice Guideline for Prescribing Opioids for Pain, United States, 2022. cdc.gov/mmwr/volumes/71/rr/rr7103a1.htm