A radiographer with a patient at a CT scanner

Having a Scan When You Have Diabetes: Contrast Dye, Metformin, Insulin Pumps and Fasting

Diabetes UK estimates that almost 6 million people in the UK are living with diabetes. Most scans are no different for them, but three things need planning: contrast dye and metformin, fasting without a hypo, and insulin pumps or glucose sensors near an MRI scanner. This guide explains what NHS departments ask of you and what to tell them before your appointment.

Written by the FindScan Editorial Team and reviewed by our Medical Advisor, Dr Mohamed Najjar
Reviewed · How we write and review our guides

Having diabetes does not stop you having any of the common scans; it changes the preparation. A CT with contrast dye raises a question about metformin and your kidneys, a fast raises the risk of a hypo, and an MRI scanner is a powerful magnet that does not mix with an insulin pump.

The NHS CT scan page asks you to tell the hospital if you have diabetes, take any medicines or have kidney problems, and the NHS MRI safety form asks about kidney problems too. This guide explains why, and what hospitals typically advise. Your own department's instructions always come first.

Tell the department before the day, not on it

Macmillan's advice is simple: contact the hospital before each test, say that you have diabetes and ask what to do. Royal United Hospitals Bath, for example, says that if you take metformin it needs to know whether your kidney function is normal before it can do your CT scan.

Three things to mention when you book: which diabetes medicines you take, including insulin and metformin; whether you wear an insulin pump or a glucose sensor; and whether you have a recent kidney function result. If you are arranging a private scan, give the clinic the same information when you enquire.

CT with contrast dye: why metformin comes up

Iodinated contrast, the dye injected for many CT scans, is cleared by the kidneys, and so is metformin, so hospitals check kidney function before giving contrast to someone who takes it. Newcastle Hospitals' radiology guidance says patients with an eGFR above 30 should continue metformin, and that it should be stopped for at least 48 hours if the recent eGFR is unknown or below 30, or the patient is unwell, with kidney function rechecked before restarting. It also says elective scans for people with diabetes should ideally have an eGFR from within the last 3 months.

Some hospitals keep it simpler for the patients they do ask to pause. Leeds Teaching Hospitals tells its patients not to take metformin for 48 hours after the contrast injection, adding that this is unlikely to make a significant difference to the control of your diabetes. Macmillan describes it as not taking metformin on the day and for about 2 days afterwards.

Practice varies, and whether you pause at all depends on your kidney function, so do not stop metformin on your own. Ask the department doing the scan, and if you are told to pause, ask who checks your kidney function before you restart. Our guide to CT scans with contrast covers the dye itself.

Fasting before a scan without a hypo

Some CT scans, and a few MRI and ultrasound scans, ask you not to eat beforehand. Macmillan says fasting can be harder with diabetes, so your fasting window may be shorter than other people's, and that an early morning slot shortens the fast. Newcastle Hospitals tells its fasting patients to omit insulin or diabetes tablets before the examination, bring them with something to eat, and take them straight afterwards; diet-controlled diabetes follows the normal preparation. Those are one trust's instructions, so follow what you are given.

Carry hypo treatment on the day. The NHS says that if your reading is below 4mmol/L or you have symptoms such as sweating, shaking or a racing heartbeat, take a fast-acting sugar such as a small glass of fruit juice or 5 glucose tablets, recheck after 10 to 15 minutes, and eat something longer lasting once you are above 4mmol/L. Our guide to preparing for your scan explains which scans ask you to fast.

MRI with an insulin pump or glucose sensor

Royal Berkshire's May 2026 leaflet is blunt: if you use an insulin pump or insulin infusion pump, it must be removed before entering the MRI scanner room. NHS Lothian's guidance, published through the Right Decision Service, says insulin pumps and continuous glucose monitors should be removed before CT and MRI because the scanners can interfere with the pump, and that before a procedure lasting over an hour the patient should give a bolus.

Glucose sensors depend on the device. Royal Berkshire says the sensor its leaflet covers can stay on if the radiographers follow the manufacturer's MRI safety conditions, but that readings may be inaccurate during the scan and for up to an hour afterwards, so you need another way to check, such as a finger-prick test. Macmillan says whether a monitor has to come off depends on the device and the body area scanned, so tell the imaging staff a few days ahead.

NHS Lothian adds two practical points: bring the supplies to restart your pump or sensor afterwards, and store any removed equipment safely. Our guide to MRI safety and implants covers other devices.

X-ray, ultrasound and the scans diabetes care can lead to

Plain X-rays and most ultrasound scans need no fasting or contrast. Macmillan notes that a pump may need to be removed for some X-rays, and an abdominal ultrasound may ask you not to eat, so mention your diabetes when the appointment is made.

The NHS says type 2 diabetes can lead to coronary heart disease and stroke, foot problems such as ulcers and infections, sight problems, kidney problems and gum disease. Imaging is one tool your GP or diabetes team may use when a complication is suspected, such as an X-ray or MRI for a foot that is not healing, an ultrasound of the kidneys, or a heart scan. Those are decisions for the team that knows your history, and the advice above applies in the same way.

When it is 999, not a scan

The NHS says to call 999 or go to A&E if you have diabetes and are peeing a lot, extremely thirsty, feeling sick, confused or extremely sleepy, or short of breath, as these can be signs of a hyperosmolar hyperglycaemic state or diabetic ketoacidosis. For a severe hypo, the NHS says to call 999 if someone is unconscious or not responding normally and no glucagon injection is available, or they have not recovered within 10 minutes of one. Tell the radiographer if you feel unwell on the day.

Comparing clinics on FindScan

If a clinician has suggested a scan, FindScan lists independent, regulated imaging clinics across the UK. Enter a postcode, compare clinics near you and send an enquiry. The clinic contacts you to arrange your scan. Mention your diabetes medicines, any pump or sensor, and whether contrast is planned.

FindScan is a directory of independent, regulated imaging clinics. We are not a healthcare provider, and nothing here replaces the instructions from the department doing your scan or your diabetes team. Do not change insulin or tablets without being told to.

Common questions

Do I have to stop metformin before a CT scan with contrast?
Not always. Newcastle Hospitals' guidance says to continue metformin if your eGFR is above 30, and to stop it for at least 48 hours only if the eGFR is unknown or below 30 or you are unwell, with kidney function rechecked before restarting. Leeds Teaching Hospitals asks its patients not to take it for 48 hours after the injection. Follow the department doing your scan.
Can I have an MRI if I use an insulin pump?
Yes, but the pump cannot go into the scanner room. Royal Berkshire says it must be removed before entering the MRI room, and NHS Lothian says to give a bolus first if the scan will last over an hour and to bring supplies to restart it. Tell the clinic when you book.
Do I need to take my glucose sensor off for an MRI?
It depends on the device. Royal Berkshire's May 2026 leaflet says the sensor it covers can stay on under the manufacturer's MRI conditions, but readings may be inaccurate during the scan and for up to an hour afterwards. NHS Lothian says continuous glucose monitors should be removed before CT and MRI. Ask the department a few days before.
How do I fast for a scan without having a hypo?
Macmillan says to ask for an early morning slot and to follow the department's instructions on when to eat and take your medicines. Bring hypo treatment. The NHS says to treat a reading below 4mmol/L with fast-acting sugar, recheck after 10 to 15 minutes, then eat something longer lasting.
Does diabetes change whether I need a referral for a private scan?
No. CT, X-ray, DEXA and mammography need a referral from a registered healthcare professional; MRI, ultrasound and echocardiogram can often be self-referred. Tell the clinic about your medicines, any pump or sensor, and your latest kidney function result if contrast is planned.

References

  1. CT scan. NHS. Accessed 15 November 2026.
  2. MRI scan. NHS. Accessed 15 November 2026.
  3. Low blood sugar (hypoglycaemia). NHS. Accessed 15 November 2026.
  4. Type 2 diabetes: health problems. NHS. Accessed 15 November 2026.
  5. Planning ahead before a test: if you have diabetes. Macmillan Cancer Support. Accessed 15 November 2026.
  6. Instructions for diabetic patients taking metformin. Leeds Teaching Hospitals NHS Trust. Accessed 15 November 2026.
  7. Management of patients attending Radiology who are diabetic or take metformin (December 2019). Newcastle upon Tyne Hospitals NHS Foundation Trust. Accessed 15 November 2026.
  8. Instructions for CT abdomen and pelvis. Royal United Hospitals Bath NHS Foundation Trust. Accessed 15 November 2026.
  9. Continuous glucose monitors and MRI scans (May 2026). Royal Berkshire NHS Foundation Trust. Accessed 15 November 2026.
  10. Insulin pumps, continuous glucose monitors and radiology. NHS Lothian (Right Decision Service). Accessed 15 November 2026.
  11. Diabetes statistics. Diabetes UK. Accessed 15 November 2026.

This article is general information, not medical advice, and it does not replace an assessment by a clinician. If you have symptoms that worry you, speak to your GP or call 111. In an emergency, call 999.