Preventing Lung Problems After Surgery and General Anesthesia

Our bodies need oxygen to help us heal after surgery or an injury. Anesthesia used during surgery can affect how well our lungs work after surgery. Also, being inactive from surgery reduces the amount of oxygen taken in by our lungs since we don’t breath as deeply as we do when we are active, even just doing our daily activities.

There are many kinds of surgery done under general anesthesia. With general anesthesia, you are “put to sleep” and your breathing is slowed down and the breaths you take are not as deep as you normally take when you are up and active. These shallower breaths keep the tiny air sacs in your lungs (alveoli) from filling with air.

These sacs can flatten and their insides stick together like a water balloon after you let the water out. In order to get air back into these sacs and open them up, you need to take deep breaths and hold them. Holding your breath makes the sides of the little air sacs pop apart and the sacs fill with air. If you don’t get the little air sacs (alveoli) filled with air you may have complications like pneumonia. Another common complication that occurs after a surgery is atelectasis which is characterized by collapsed lungs. Some studies also suggest that atelectasis causes fever.

Deep breathing exercises can also help relax you and relieve pain. If you had chest or abdominal surgery, press a pillow firmly against your incision to reduce the discomfort from deep breathing and coughing. If you’re in too much pain to take deep breaths and cough, let your doctor or one of the nurses know so your pain can be better controlled and you can do the breathing exercises.

Anatomy of the Alveoli

AlveoliAlveolus is a group of ballonlike sacs at the end of a bronchiole. The bronchioles or bronchioli are the first passageways which takes in air from the nose or mouth to the air sacs (alveoli) of the lungs. These tiny sacs have capillaries in their thin walls and allow oxygen to be absorbed into the blood. Oxygen is breathed in and absorbed into the bloodstream by the capillaries in the thin walls of each alveolus. Carbon dioxide is carried from the capillaries in the alveolus to be breathed out by the lungs. There are about 300 million alveoli in each lung.

Breathing and Coughing Exercises

Practicing these breathing exercises before you have surgery will make it easier to do them afterward—and you’ll be less likely to have lung or breathing problems.If you know you are going to have general anesthesia, you can learn and practice breathing and coughing exercises before you go. If you had emergency surgery, be sure to do the breathing and coughing exercises after your surgery while you are on bed rest and are unable to get up and walk around. These exercises are particularly important if you had abdominal or chest surgery or your are prone to lung problems.

Breathing Exercises

Diaphragmatic Breathing (deep breathing)

The green line is your diaphragm

After you have surgery with general anesthesia you need to do breathing exercises. Doing these exercises will help prevent lung problems such as pneumonia and bronchitis. The breathing exercises include deep breathing and coughing. Learn and practice these exercises before surgery; practice everyday for at least a week before your surgery.

Deep Breathing (diaphragmatic breathing, abdominal breathing, belly breathing)

The purpose of deep breathing is to completely fill your lungs with air. Use your chest and stomach muscles to breathe the right way; done by contracting the diaphragm, a muscle located horizontally between the chest cavity and stomach cavity. Air enters the lungs and the belly expands during this type of breathing.
1. Breathe in through your nose as deeply as you can (your stomach should go out as you breathe in). Hold your breath for 5-7 seconds.
2. Let your breath out through your mouth slowly—take twice as long to breathe out as you did to breathe in. Purse your lips (like you’re blowing out a candle) as you breathe out. Your stomach should go out as you breathe out.

Do this exercise 10 times. After you do the deep breathing exercise, do the coughing exercise.


Coughing helps keep your lungs clear.
1. Take a slow, deep breath in through your nose. Try to fully expand your chest and back.
2. Breathe out through your mouth; you should feel your chest sink down and in.
3. Repeat 1. and 2. for a second breath.
4. Take a third breath, but instead of breathing out, hold your breath for a moment and then cough hard forcing the air out of your lungs.

Do the coughing exercise 3 times. Do the combined breathing and coughing exercises every hour while your awake.

Incentive spirometer

Incentive spirometerSome hospitals give out an incentive spirometer (image right) to help you do deep breathing exercises before and after surgery. Someone will show you how to use the incentive spirometer when you get it. If you’re given an incentive spirometer before surgery, don’t forget to bring it to the hospital with you when you come for surgery.

How to use the incentive spirometer

• Sit up as straight as you can. If you’re in a hospital bed, sit on the edge of your bed or raise the head of your bed so you’re sitting up straight.
• Hold the incentive spirometer in an upright position. (see picture above)
• Put the mouthpiece in your mouth and close your lips tightly around it forming a seal.
• Breathe in slowly and as deeply as you can to raise the piston in the air cylinder up to the top of the cylinder.
• Hold your breath as long as you can (at least 5 seconds), then let the piston fall to the bottom of the air cylinder.
• Rest for a few seconds and repeat the steps above at least 10 times every hour while you’re awake.
• After each set of 10 deep breaths, do the coughing exercise above to keep your lungs clear.

Once you’re able to get up and walk around, take some deep breaths and cough well as you walk. You may stop doing the breathing exercises or using the incentive spirometer once you’re up and around (unless your health care teams tells you to keep doing the exercises). If you’re unable to get up and move around at home, do your breathing exercises on the days you’re inactive.

If You Smoke

Nicotine slows down the healing and recovery process. Quitting smoking (or using any tobacco products) even a week before surgery can lower your risks of having surgery. Rather than have the stress of nicotine withdrawal while your body is recovering from surgery, try to quit smoking a few weeks before surgery. Talk with your surgeon before using nicotine replacement products such as a patch, gum, or cigarette substitute or to help you find ways to quit.

When You Want to Know More

When You Want to Know More

Want to Know More?

Our trunk is divided into two main cavities: thoracic cavity and the abdominal cavity. Both cavities are bound on the back by the spine. Even though their location is defined, the shape of these cavities can change. Breathing is the main way the shape of these two cavities changes. The abdominal cavity changes shape similar to a water-filled ballon. When you squeeze the balloon, the shape changes as the balloon bulges. When breathing compresses the abdominal cavity it “bulges” into a different shape. The abdominal cavity can also change shape based on volume—that is how much you eat and drink. The more you eat and drink, the harder it is for the diaphragm to compress the abdominal cavity—which is why it is harder to breathe after a large meal. Also, an increase in volume of the abdominal cavity decreases the volume in the thoracic cavity—you can take in less air. The thoracic cavity changes both shape and volume when you breathe. When you breathe out, the volume decreases; when you breathe in the volume increases. Because these two cavities are linked together by each changing the shape of the other, you can see that the quality of breathing affects the health of abdominal organs and the health of our organs affects the quality of our breathing.

Knowing how breathing changes the shape of the two cavities will help you understand why it may be painful for you to take deep breaths after high abdominal surgery. When you take a deep breath the diaphragm pushes down on the abdominal cavity, pressing on tissues “injured” during surgery causing pain. Even so, it is very important for you take deep breaths and bring in healing oxygen. Certain posture can help a lot in easing the pain while taking deep breaths by giving your abdomen room to “bulge.” Sit up as straight as you can when taking deep breaths. Take deep breaths whenever you are up and walking—stand as straight as you can when you are walking.


  1. Buddy Davis says

    I had a Desmoid Tumor removed from the right side of my neck that was 6cm and it was attached to my spine as well. After my surgery to remove the tumor I found that I couldn’t breath very easy and was givin a little plastic breathing thing to exercise my lungs which I did not do and now three or four weeks later I am wishing I would have.
    I will now start my breathing exercise and see if i can recover from my breathing problem.
    Wish me luck.

  2. I had asthma as a kid/young adult but have not experienced symptoms in a handful of years. I attributed the break to a change in diet – I eliminated milk and generally eat more fruits/veggies/less processed stuff. My guess is that my immune system was reacting to dairy and after being allowed to repair itself, I no longer experienced wheezing or chest tightness. In the last two months, I have had three surgeries and have been experiencing a re-occurance of my asthma symptoms. My guess is that all the anesthesia drugs and post-operative meds I was on did a number on my gut and now my immune system is reactive again. No surprise – none of my anesthesiologists or my surgeon seemed to have any idea or concern about why this was happening. Any thoughts?

  3. Wyatt Hunter says

    I was diagnosed with severe COPD and emphysema at 48. I had LVRS (lung volume reduction surgery) a year later, which I am forever grateful for it actually led me to multivitamincare .org . I have read some of their stories online before using their natural herbal formula , I had very hard time breathing then, and even more so at night, it was so bad I can’t sleep. I get up with a tight chest that feels blocked and can’t breathe well at all,I was excused from normal life responsibilities but natural herbs from multivitamincare org really helped a but sometimes I think is God prodigy that I was able to treat my Chronic obstructive pulmonary disease but multivitamin care herbal formula has a big impact on my recovery because my heart condition has been fully reversed . They do things for me, and was too happy to comply with their service. This is a equitable of a way to get of your COPD emphysema .

  4. Jackie Wallace says

    I wake up from general anesthesia gasping for air. They give me breathing treatments, but doesn’t seem to help. I’m getting ready for surgery again and I’m really scared about waking up like this as before. What can I do?

  5. Very good info. I had my gallbladder removed (laparoscopic) and when I tried to take a decent sized breath I was experiencing pain (likely from the surgery and still healing). Buy day three post-op I was still having trouble, feeling winded when I tried to talk more than a couple sentences and hoarseness. I was beginning to think something may be wrong so I went researching post-op breathing problems and ended up here. The surgery center mentioned I may need to do some deep breathing exercises and this was right along those lines. After just a few times I could tell a difference and now (5 days post-op) I feel much better. I never coughed anything up, but I could tell I was stretching things back out. Take it slow but yes please move toward breathing exercises. Talk to your doctor about it, always ask.

  6. I had kidney surgery in 1998 and was given only minimal pain reliever post-op for 2 days. On day 3 I developed a fever and pneumonia from only one reason, from breathing in only a shallow manner the previous 2 days (to avoid the pain associated with breathing). At the time fortunately it was a very knowledgeable doctor. He brought in to the room an incentive spirometer, which I still have to this day, and they provided a good clear description of why I needed to start using it on day 3, and good clear instructions on how to use it.

    They also started proper pain meds and told me I also had to get up and start walking around (since it was almost day 4 at that point). So at some point a person has to get up and move around too (when it’s the right time). Too little rest is bad and too much rest is bad as related to recovery.

    The reason I’m writing this message is I still have the incentive spirometer it is in clean like-new condition and I’m researching online if it could possibly help if or when a person gets the regular flu OR Covid-19. So far there’s mixed opinions online. I’m looking for consensus and also detail. When I see someone make abstract statements with no explanation and no detail, that kind of generalization is not trustworthy. When a person knows what they’re talking about, there will at least be a good amount of detail involved.

    Shallow breathing is not generally good because the small alveoli sacs do not get opened up properly. I am personally a little too sensitive to pain so I’m finding in my research that yes anything that can help a person take improved more-than-shallow inhale breaths is a good thing. For some people just temporarily accepting the discomfort and pain of taking regular inhale deep breaths (or close to it) can help them recover. Any “incentive” therefore to take more than just a shallow breath can help improve a general recovery time in my opinion.

    I have reviewed at least 20 online articles so far trying to find out if an incentive spirometer can help a recovery time if pneumonia has just started, and the answer is yes possibly, if the person’s immune system is working normally. And that is because the OPPOSITE (breathing shallowly) is BAD and causes the small alveoli sacs, which are filling with fluid to some degree with pneumonia, to not open up.

    I am not a doctor and this message is just personal testimony. Be sure to speak with a dr. about your health. If it has been awhile and you can’t cope and can’t breath properly then you should talk with a doctor you should ask for help. The spiritual side of health is also important so remember to pray and trust God. God loves you.

  7. Chyresse Nicholson says

    I recently had reconstructive surgery on my breasts and abdominal area (diep flap). This is the third time that I experienced extremely low O2 saturation for 2 days following surgery. I could barely stay awake and when I fell asleep my O2 would dip to 86. They put me on high levels of oxygen and moved me to ICU for observation. No pain, cough, or shortness of breath. No blood clots. They advised no additional surgery except in an emergency because I could end up on a ventilator. What gives? My pulmonary doctor had no explanation. Was it the type or amount of anesthesia?

  8. I just had surgery on my broken ankle. Ever since been having breathing problems. I kept complaining that I couldn’t breath. Was told your getting plenty of oxygen was having side effects from the anesthesia and it took 24 to 48 hrs to get out of my system. Well it’s been about a week and still was having trouble. I found this site and did the breathing and coughing exercises and it worked. Now I’m breathing much better. It’s like my lung muscles were kinda paralyzed and weren’t working right. But now I feel like the exercises jump started them again. So glad I found this. It was scary not being to breath right.

  9. Kristi Hawk says

    I had a right knee arthroscopy and my diaphragm is really sore and my throat is still sore. When I cough my diaphragm hurts….

  10. Maheshbabu says

    My wife got decartication of lungs infected with Hydatid cyst ,10days after surgery Dr insisted for one more surgery saying her lungs not getting fully expanding
    She has got an opening at chest with one pipe to help her to breath
    She is doing respirimeter exercise
    Whether this breathing exercise will help her to recover ? I non’t want her to have one more surgery

  11. lucy rodriguez says

    I had gallbladder surgery friday today is sunday ,is it normal to not have congestion ,I’ve been trying to cough up stuff but nothing comes out ,is it possible I dnt have any congestion in my.lungs

  12. lucy rodriguez says

    Great information so happy I found it ,I had gallbladder surgery friday today is sunday ,I’ve been doing the breathing with the trying to cough, is it normal that im not coughing up anything

  13. Fred I don’t know any answers to your questions but wanted to let you know I’ll certainly be praying for you.
    I had surgery Wednesday and came home yesterday and have been having trouble getting my breath. I told them that in the hospital but they kind of ignored it. Said my oxygen sat was 98 percent and I was fine. Maybe so but I feel like a fish out of water 🙁
    I’m going to do the exercises I found on this site and hopefully it will help.

  14. Fred Strout says

    I am getting ready to have major surgery for a bladder diversion and Urostomy and to fix one of my ureters. I will be under heavy sedation for 4-5hrs I am really concern that I will develop pneumonia because this is a high risk surgery, I am 70yrs old, have COPD (never smoked) , CHF and just got over double pneumonia 2 months ago. The surgery must be done with out a doubt. Anyone have any 💡 whether I should be that concern. My surgery is on 8/2 so anyone who would consider praying 🙏 for me I would appreciate it. Sincerely Yours! Fred S

  15. Wow! I’m glad I came across this site. I’ve been having respiratory difficulty since my parathyroidectomy surgery. I was dosed twice with a general anesthetic due to an ill-placed IV. The first dose went into my tissues, and not my vein. After a week of nausea and extreme drowsiness, I am unable to expend any energy without becoming breathless. Even though I have expressed this to all (PC, ENT, endocrinology) professionals involved in my health care, no one has expressed an interest in helping me alleviate the problem. So glad I have the internet to do my own research. It has been beneficial to me on more than one occasion.
    Thank you so much for posting this helpful, life-enhancing information!

  16. hi I had clavicle fixation 2 months ago then I am experiencing breathing difficulties

    this is stressing me
    please advice

  17. I had surgery today and the first one one month ago. I’m below average in this area, in that I’m told I take one hour longer than the average out patient. I couldn’t suck a straw and thought my grandma on oxygen must feel like this. I realized recently after a genetics test that I may have had mild asthma that improved after mountain life, but returns now and then and I thought bronchitis and allergies or stress triggering were triggers and so not asthma and thus was normal for everyone. It’s not nearly as bad as childhood when I thought everyone else breathed like this until I was 18 after moving higher and from the polluted city. Does it effect recovery time? I don’t use an inhaler, but have been given one before when I had bronchitis. They gave me one of those masks with oxygen blowing on my face. It felt great and I wandered is this how I’m supposed to feel. Any other experiences of those with slight asthma and longer recovery time or who used to get bronchitis of ammonia in childhood. I wandered if it was because I don’t work as hard as the others at breathing. I couldn’t suck a straw for two hours, but had a yogurt drink and worked at it. I gave up sucking on the straw in the hospital and drank from the side instead even if I dribbled water down the side. They sat me up in a chair and said that helped.

  18. Peter Davis says

    Just recovering from pneumonia my physio gave me a latex glove on the end of a lollipop stick to inflate. It did work for a while, but then there was a loud bang as the glove gave out. I was a little concerned so I closed my eyes for health and safety. But it did really help the increase in pressure in my lungs.
    I’m still trying to find a proper replacement, can find gadgets that help you in hail but nothing to help increase the pressure when you blow out. I will keep looking.

  19. Joanne Rowland says

    Ive had a tummy tuck and leg and thigh lift …after the leg and thigh lift ive developed bad breathing wheezing and coughing also im sick a white and yellow phlem …this is happening on and off all dsy and night and is very frightening for myself and people around me … over 10 weeks post op and im getting no better worse if anything im doing my breathing excercises all the time ..
    Any advice please im desperate

  20. I had sinus surgery Friday (today is Sunday). My diaphragm hurts like a muscle ache. Not necessarily to breathe, but to move, cough, or sneeze (which I have sneezed 12 times today). I have these breathing
    and coughing exercising with high hope this pain will go away.

  21. Stephen Buckley says

    I’ve had a kidney transplant surgery about 3 months ago and I am finding this out now. The difficulty of acquiring a deep breath (and an elevated blood pressure) I assumed was from the compromised abdomen from the incision area on the lower pelvis. I figured after atleast two months when I could finally stretch and do some exercises that this feeling would improve. I wasn’t dedicated to much of the breathing exercises mentioned due to some extreme edema at the time. Is this something that will improve over time with activity?

  22. Kristina says

    I had ankle surgery 5 days ago, and had low oxygen levels in hospital after surgery. They put me on a monitor and found my o2 readings getting as low as 68. At one point they had me on liters of oxygen.

    I was released yesterday, still concerned about this, I have crackles in my lungs while breathing, and am having trouble breathing again.

    I startled awake from extremely loud snores. I’m not bed ridden, but being on crutches is agony, so I’m lying down most of the time.

    I suffered from urine retention, when that finally went away I was up constantly going to the bathroom.

    First night in the hospital I barely slept because I would doze off and wake up not breathing.

    I may go to the hospital later because of this.

  23. Very informative and relaxed me a little,it was scary before I did the exercises. Would have been helpful to know before surgery! I was afraid to go to sleep ?

  24. Experienced severe lung buring for 2 days after general anesthesia for a cardiac ablation no one seems to have an explanation i do have asthma that is well controlled

  25. Brian McDermott says

    As a medical investigator with an extensive background in healthcare, with a wife who is a clinical care provider, you would think we could know when a healthcare team is truly of quality — competent in giving patients all need to know information and instructions as noted above both prior to and after sinus surgery, which my wife recently underwent — but truth is, assessing in advance what quality of care shall be provided is a very difficult challenge. Trust in providers as the experts they are is a double edged sword. It’s scary, the majority of comments above mirror our own experience of not having been given this knowledge prior to surgery, and now my wife suffering severe acute bronchitis and not even diagnosed as such! We ourselves diagnosed it using our medical knowledge and training coupled with online resources, which then led the doctors to diagnose it. The point is simple: hospitals/ surgical centers and physicians including surgeons, anesthesiologists, attending MDs, nurse practitioners and others on the care team, are rarely attentive to the details they are assumed to be attentive to, such as these simple preventive measures pre-op. The advice I give is to never trust blindly any care provider. Research extensively prior to agreeing to any procedure or treatment course. Get 2nd opinions. Postop, If you suspect negligence, odds are good you are correct. Medical errors are the 3rd leading cause of death. It’s a fact that this website offers extensive knowledge and accurate guidance; it may be relied upon; and is often if not always a better source of medical knowledge for your specific case than what your $1200/ hour physician provides. This is not a paid “promotion” this is a professional speaking candidly about a very important matter — your wellbeing, health, and life. I am now investigating the “care providers” for having failed to give what is very simple advisory such as this. It’s shocking yet not surprising nearly all persons posting comments have the very same experience. It is not easy asking your providers the tough questions and informing them of what YOU KNOW, and literally overseeing the care they provide, not trusting them to do it perfectly well on your behalf. Most are not accustomed to having informed, activated patients. But they should, now more than ever. And any doctor who is insecure about it is a doctor to replace. Remember: doctors are paid to work for YOU, not solely paid to play doctor irrelevant of your personal health needs.

  26. I am going to ask before having breast reduction surgery if they will put me on oxygen after.

  27. This was so helpful! Thank you for sharing.
    I wish the hospital that just removed a simple cyst from my wrist under general anesthesia would have made mention of ANYTHING related to possible breathing complications in all their info they print/send home with a person!!
    2nd day after procedure, I began weezing. Found this information and within hours was feeling so much better.

  28. I had a simple colonoscopy under a twilight anesthetic and found myself coughing uncontrollably upon waking up. Before being discharged I asked if wheezing and coughing was normal? The nurse gave a breathing treatment to me and I seemed ok for awhile. Next thing I knew I was headed to the ER unable to breath, but this time I felt my blood pressure was high and felt faint. Now I’m on a steroid, inhaler and antibiotics…I have never had this happen so it can happen to you! Apparently when you are so relaxed under anesthetic, your saliva can fall back into the lungs and cause this issue.

  29. Sarah Adams says

    How long does it usually take to get rid of the pain in your lungs? I discover these breathing exercises last night about 3 hrs before going to sleep. This morning the the pain was the worse so far(2 days after surgery), how long does it usually take for the pain to subside, and when should I call the doctor?

  30. Susan Worner says

    This was very helpful! Had general anesthesia for minor vascular surgery, and started developing rapid accumulation of clear fluid on the lungs on day 3 post-op. I just did the breathing and coughing exercises and it is helping already. The sad thing is, my pre-op nurse apparently didn’t know the purpose of the incentive spirometer. She said it was for people who might have trouble remembering to breathe after surgery, and quickly put it away– almost laughing, as if sure I wouldn’t need it.

  31. Wow. Great article. I had sinus surgery yesterday and was wheezing this morning and coughing a lot. Did these exercises and the wheezing is gone. Amazing. Now I know for future surgeries. However, given you could contract Pnuemonia, it is pretty upsetting that no one tells you to do this after surgery.

  32. I had a bout with a respiratory virus that has been going around and discovered that these breathing exercises are helping me clear the congestion leftover from that! I knew that I had done breathing exercises after all of my surgeries but wasn’t sure it would help in my present situation, fortunately for me, it has! Great article!!

  33. I been having problem breathing my self I had surgery on 1996 and my doctor didn’t tell me about breathing exercise and im finding these too help about coughing and breathing exercise,
    im starting doing this, and hopefully it goes back too normal someday i’m glad I found this website here,

  34. I had a simple nasal polyps operation at London Hospital, White Chapel, UK. The anaethetist decided not to give me opiates in an attempt to prevent my history of vomitting after general anaesthetic. Bad mistake I awoke abrubtly from the ”general’ with a sharp stabbing pain in my left chest. Shock ensued. Breathing and coughing was not mentioned by anaethetist, surgeon or nurses at all to get lungs functioning.

  35. I also agree. This is sad that we are not being told about this. My mom had surgery yesterday and is having a hard time breathing. Now I know why.

  36. I too had general anesthesia and didn’t know how important the coughing is. I coughed so hard I thought my ribs would crack. Now I know it is necessary to breathe and cough. Good article.
    cs in las vegas

  37. I’ve had a knee arthroscopy with general anesthesia two days ago and was getting a bit worried about the uncomfort I was feeling when trying breathe in deeply. I’m not very happy that the hospital staff forgot to tell me about the post-op breathing exercises, but at least now I’ll start doing them and hopefully return to normal functioning soon. Thank you!

  38. Very useful information and well explained . Thank you

Speak Your Mind