Diabetes in the Hospital

Whether your visit to the hospital is planned or unplanned, it’s important to understand that life in the hospital is VERY different from life outside the hospital, and many of the things you know to be true about your diabetes at home might not apply in the hospital. Many factors related to your body are different. The environment you’re in and the different medical procedures you might be going through can really wreak havoc on your blood sugar levels.

How a Hospital Stay Can Affect Your Body:
  1. Whether you are in the hospital for an illness, trauma, surgery, a medical procedure, or even just as a visitor, the increased amount of stress (emotional or physical) your body is under can cause increases in your blood glucose level.
  2. During stress, your body becomes resistant to the glucose-lowering effects of insulin and/or oral medications, thus increasing your blood sugar levels and your body’s medication requirements.
  3. The food in the hospital can also be very different than the food you eat at home. It can have more or less carbohydrate than you are used to eating, which can have a significant impact on your blood sugar levels.
  4. The timing of meals can also be quite different. Many hospitals have set schedules for meals, which may or may not be what you are used to. Some have room service or meals on demand, but even then you may not be allowed to eat for long periods of time while awaiting a procedure or surgery.
  5. Your activity level is also usually not what you’re used to because you’re often lying in bed or sitting in a chair for many hours during the day while healing.
  6. Medications you receive in the hospital can also cause your blood sugar level to go up or down. It’s the same for different IV fluids or nutritional supplements you might receive.
  7. The hospital blood glucose targets are also often different from your home targets. Blood sugar levels between 100-180 mg/dL or even 140-180 mg/dL have been shown to be the safest range for healing while in the hospital.  Common outpatient targets like 80-130 mg/dL are not necessary for the short period of time you are in the hospital, and given all of the different variables at play in the hospital, you need a little room for error to avoid severe hyper or hypoglycemia.
  8. Your body also often goes through a lot of changes during your illness or injury and healing process. Your kidney function might change temporarily, or you might develop nausea, vomiting or poor appetite.

Given all of these changes, and because there are often temporary contraindications to many oral/non-insulin injectable medications in the hospital, most people are transitioned to insulin therapy during hospitalization, whether they were taking insulin prior to the hospital stay or not. Insulin treatment is the fastest and most flexible way to get (and hopefully keep) your blood sugars in the healing range during your hospitalization.  This does not necessarily mean you will have to go home on insulin, but it is important to know and be aware, as it can be a big change for a lot of patients.

The Hospital Environment and Diabetes Devices:

In addition to the different food, timing of meals, activity levels, medications, etc., the hospital environment itself is very different from home, and all of your usual diabetes devices have not necessarily been tested and proven to be as effective as they are at home.

  1. Glucose meter: the hospital glucose meters have been through extra testing in the hospital environment compared to home glucose meters, and are the preferred devices for monitoring blood glucose in the hospital.
  2. Continuous Glucose Monitor: CGMs are not currently FDA approved for use in the hospital setting. They cannot replace glucose monitoring with the hospital meters, but many hospitals allow patients to continue to wear them for personal comfort. You will usually have to sign a consent form stating you are aware of these differences and will allow hospital staff to monitor your blood glucose using the hospital meter as well.
  3. Insulin pumps: depending on the hospital you are going to and the level of diabetes expertise available, many will let you stay on your insulin pump during your hospital stay. However, understand that you will still be in charge of managing your pump throughout your stay, and if anything happens and you are not awake, alert, or able to manage the pump independently, the medical team might need to transition you to basal bolus or insulin infusion therapy in the short term.
  4. Closed loop insulin pumps: because CGMs are not currently FDA approved for hospital use, and these closed loop systems rely on the CGM reading to dose insulin, the closed loop software technically should not be used in the hospital setting. This does not mean you are not able to wear your insulin pump, but rather that it might need to be switched to manual mode for the duration of your procedure or hospitalization.
  5. Imaging or tools used during surgery can interfere with some of your diabetes devices, so if you are undergoing surgery or imaging, it is important to make sure the team knows you are wearing devices. Ensure they are out of the surgical or imaging field and have a plan to shield them if needed.
How To Be Prepared:

If your visit to the hospital is planned, try to find out as many details as possible regarding your upcoming stay, and be as prepared as possible for all of the changes in store for you.

  1. If you are coming for a planned procedure, it is important to find out if/when you need to stop eating beforehand, and what diabetes medications should be taken, held, or adjusted prior to your procedure.
  2. If you wear an insulin pump or CGM, find out if you will be allowed to keep it on during the procedure (it’s usually ok for short procedures). Bring plenty of extra supplies including insulin, batteries, a charging cord, pump parts, sensors, etc. Devices usually have to come off for MRIs or be shielded for x-rays, CT scans, fluoro, etc., so it’s a good idea to have extras just in case.
  3. If you have type 1 diabetes, make sure you have basal insulin on board at all times either via insulin pump, IV insulin drip or long-acting subcutaneous insulin. Do NOT turn off your pump without having an insulin drip running or long-acting insulin on board so you do not go into DKA.
Final Thoughts:

During your stay, communicate clearly with your medical and surgical teams, be aware of your blood sugar values, and work with your team to discuss and address any questions or concerns you might have about your diabetes management before, during, and after your hospital visit.

For a pdf of these tips, please click here: Diabetes in the Hospital


  1. I have been hospitalized several times for exacerbation of COPD and have been allowed to manage BG using my pump. A BG of 70 will create a major incident with room filling up with nurses, supervisors and MDs. Prednisone oral and IV push will drive BG sky high. Used high basil settings with corrections every 1/2 hour. Once they were not happy with what I was doing and had me disconnect. Set up insulin drip titration. After 24 hours they told me to reconnect as I had managed BG better than they had. (T2 with long term insulin use.)

  2. Avatar

    Not to cast a cloud but, 15 years ago I was hospitalized after a bad stomach bug left me severely dehydrated. I was on mdi and was denied access to long acting insulin. Mysteriously my bg seemed to remain in the low 200’s with no insulin on board. When my mom arrived (it was a 5+ hour drive for her) she helped me check my blood sugar on my own glucose meter and retrieved my insulin from home (I was so sick I left home without it) which was in the 350+ range. I insisted on a blood draw to confirm and my personal meter was spot on. So not only was I denied access to insulin, my treatment was being based off of a faulty meter. Of all the surgeries and hospitalizations I have been through I have only had 1 good experience in how they handled my diabetes. I avoid hospitals as much as possible and am extremely stressed every time I need a procedure. The misinformation amongst hospital staff and doctors and mistreatment I have received during times when I was not able to care for myself is terrifying. No matter how I prepare even including notes/directions from my endocrinologist my diabetes care plan is never followed. I am not sure how to deal with these fears and past experiences. I need another trigger finger repaired but after my last surgery in 2019 I’m too scared to go through it even though I have the option to not have anesthesia.

    • I’ve never had a patient who was well controlled in the hospital, and it’s frustrating. However, I’ve had three outpatient surgeries for trigger finger. They won’t admit you to the hospital for that – it’s a short procedure. I got a bier block which uses a local anesthetic, and meant that I drove myself home after the surgery, so that may be a good option for you.

  3. Avatar

    I have been T1 diabetic since 1973. There were only 2 times that I believe I went into DKA. One was when I was first diagnosed at age 9 and secondly, when I was in the hospital for a major spinal surgery. After surgery, I kept telling my nurses that I needed more insulin as the staff/doctors never increased my basal insulin back to normal levels after having me cut my dosage in half to prepare for surgery. So irritating to keep telling the staff I need more insulin when they could tell my sugars never went below 200. I believe I passed out from the DKA in the hospital. Luckily a distant relative who is a pediatrician at the hospital that I had my surgery in saw my condition and told the staff I needed immediate care. I wish an endocrinologist should be on staff 24hrs per day to check on us diabetic patients.

    • Avatar

      Wish that were the case too, Anita! Hopefully in the future there will be more support in hospitals across the board.

  4. Would love a .pdf of these recommendations if you have one. Should be included as a self-care topic for all persons with diabetes. Thank you!

    • Avatar

      Hi Laurie,
      Thanks for the suggestion! We just added a pdf to the end of the article.

  5. Re: postings by Michele and Anita S. I have had T1 for 62 years on October 31, yes Halloween, so at age 7 no more trick or treating for me.. ever.. again. How ironic! I have dealt with all the problems you have described over and over again and I have developed a rotten attitude. Every hospital based doctor has to follow the protocols of the hospital and their individual learning. My last major hospitalization which lasted 8 weeks, they almost killed me and I left with about 50% of my previous functioning. There is not a single person with diabetes that I have ever met who follows their protocols and we are definitely not all alike. So either listen to me as I am the one who has experienced this journey and I don’t think you should ignore me. They always do anyways. I have left the care of several endos because they tried to force me into some crazy treatment without realizing how this would affect my life. One doctor had me sit with a nurse educator for over an hour, while she quizzed me on my lifestyle and eating habits and then told the doctor all lies and inaccuracies. Left him immediately. All my specialists are at University of Michigan Medical Center but I moved 330 miles away and I want to keep them as they are all selected by me out of the numerous ones they sent me to! “No listen.. No treat (me)” and I have gone through a lot of them. My PCP is, at times, marginal but there are only 2 internists within 75 miles and the other one is his wife! These doctors do nothing but send me to other specialists and I think my PCP might be in co-hoots with them. Every doctor anyone now sends me to they seem to pick, dig and prod until they find something where they can give me another diagnosis. I now have a whole file drawer of medical and doctor reports and these are just the current ones. I walked in to the hospital with shallow breathing and left with a R leg amputation (fell in PT), on dialysis (kidneys were destroyed due to a bad implementation of a test), metal confusion (yeah, try being in a coma for 2 weeks), impaired hearing (continued use of a lot of antibiotics) and L sided weakness. The cherry on the cake- I had a CVA while in that darn coma they imposed on me. Guess what! I have a whole new life (and so does my husband) as I can’t do MDI, 5 a day, sort my meds, do cooking for my new renal (and diabetic) diet, do my ADL’s independently or even drive anymore. So where do I start… well lets see… I started with depression, the severe type. Once they tried to discharge me with BG levels over 600! Told them go ahead and I am going right down to ER have them check my BG. Oh my, they will readmit me right away. Another rehab facility a LPN mixed two of my insulins that were not supposed to be mixed. I confronted her and she denied doing it. At another hospital, I became known as the “pill counter” in a negative way as the amount of my BID meds would change dramatically every day! As a result they moved me to a room that had an elderly pt. who stayed up all night pacing, humming, talking to herself and turning TV volume up and down. No sleep. Has been an interesting life, I do say and I’ve had to put on my invisible boxing gloves to stay alive!

Leave a Reply