Healthdirect Free Australian health advice you can count on.

Medical problem? Call 1800 022 222. If you need urgent medical help, call triple zero immediately

healthdirect Australia is a free service where you can talk to a nurse or doctor who can help you know what to do.

beginning of content

Fasting for medical tests

4-minute read

Key facts

  • Some tests require fasting for results to be accurate.
  • Some tests are done under anaesthetic and require fasting for safety reasons.
  • When you’re fasting, you can’t eat or drink anything. Ask your doctor if you can drink water before your test.
  • Keep taking your medicines when you are fasting, unless your doctor tells you not to.
  • If you have diabetes, speak to your doctor before fasting to find out how you can fast safely.

Why do I need to fast before a test?

If you are having a medical test, your doctor may ask you to fast. For some tests, fasting beforehand gives a more accurate result. For other tests, you need to fast for safety reasons. Ask your doctor how to prepare for your test.

What can I eat and drink while I'm fasting?

You can’t eat or drink anything. You can't drink fruit juice, cordial, soft drink, coffee, tea or milk, and you can't eat or suck on lollies or chewing gum. Ask your doctor if you can drink water before your test.

Which tests do I need to fast for?

Blood tests

You will usually have a fasting blood test in the morning after you have fasted for 10 to 12 hours (no less than 8 hours and no more than 16 hours).

Tests under anaesthetic

If you are having sedation or a general anaesthetic for a test, you will need to fast beforehand. This lowers your risk of serious complications. Your anaesthetist will tell you when to stop eating and drinking.

Adults can usually have small amounts of clear fluids up to 2 hours before. Your anaesthetist will tell you when to stop eating and drinking.

Clear fluids include water, fruit juice without pulp, clear cordial and black tea and coffee. You can’t have jelly or milk.

There are different recommendations for babies and children. Ask your anaesthetist what and when your child can drink.


Fasting before a colonoscopy is important because:

  • you will be sedated
  • fasting helps clear out your bowel so your doctor can examine you properly

On the day before a colonoscopy, you will need to drink at least 3 litres of clear fluids. You won’t be allowed to eat food. Before the procedure, you will take a medicine to empty your bowel. You will need to fast for at least 2 hours before the procedure.

If you have diabetes, you may need to be monitored in hospital for this process. Ask your doctor what to drink and if you should take your medicines.


You must not eat or drink (including water) for 6 hours before a gastroscopy. This gives your doctor a clear view to examine your stomach and intestine and lowers your risk of complications from sedation. Your doctor will tell you what time to start fasting.

Can I take my medicines when I'm fasting?

Keep taking your medicines as usual before a test, unless your doctor instructs you otherwise. Some medicines need to be stopped, so check with your doctor if you usually take medicines. Be sure to tell your doctor everything you are taking, including over-the-counter and complementary medicines.

Can I fast if I have diabetes?

Fasting with diabetes can cause complications. If you have diabetes and you need to fast for a test, talk to your doctor beforehand. Ask ahead for written instructions about what to do if you have a hypoglycaemic episode (a ‘hypo’) while you're fasting.

Some recommendations are:

  • Check your blood sugar every hour, or more often if your level is too high or too low.
  • You may need to reduce your insulin dose or skip oral medicines.
  • Drink water when you are allowed to.
  • You may need to drink clear fluids containing sugar if your blood sugar is low.
  • Look out for signs of a 'hypo' and seek medical help immediately if your blood sugar doesn’t improve.

Avoid driving. Contact your doctor if you have any concerns or if you have to break your fast.

Learn more here about the development and quality assurance of healthdirect content.

Last reviewed: July 2022

Back To Top

Need more information?

These trusted information partners have more on this topic.

Top results

What is a colonoscopy? | Cancer Council

A colonoscopy is a diagnostic test to look inside your large bowel. Find out what happens and the preparation you will have to complete for this test

Read more on Cancer Council Australia website

Blood tests - Leukaemia Foundation

Blood tests Blood tests can identify a range of issues in your body that will help your doctor diagnose any conditions you may (or may not) have

Read more on Leukaemia Foundation website

Blood tests for heart disease | Heart Foundation

A blood test takes a small sample of your blood which is then sent for testing in a laboratory.

Read more on Heart Foundation website

Blood tests during pregnancy

Find out more about the blood tests you be offered during your pregnancy. what they test for and when you’ll be offered them.

Read more on Pregnancy, Birth & Baby website

Colonoscopy: examination of the colon -

A colonoscopy is an examination of the colon (large bowel), using a colonoscope a long, thin, flexible tube containing a camera and a light.

Read more on myDr website

Cholesterol tests -

Abnormally high cholesterol levels may not give you any symptoms, so a blood test is the best way to check whether you have high cholesterol.

Read more on myDr website

Routine antenatal tests

During pregnancy, you'll be offered various blood tests and ultrasound scans. Find out what each test can tell you about you and your baby's health.

Read more on Pregnancy, Birth & Baby website

CT Colonography - InsideRadiology

InsideRadiology provides free and easily accessible, accurate, up to date and credible information about medical imaging tests and procedures.

Read more on InsideRadiology website

How to do the test – Indigenous bowel screening video | Australian Government Department of Health and Aged Care

This video for Aboriginal and Torres Strait Islander people explains how to do the bowel cancer screening test. The test is part of the National Bowel Cancer Screening Program.

Read more on Australian Government Department of Health and Aged Care website

Allergy Testing - Australasian Society of Clinical Immunology and Allergy (ASCIA)

ASCIA PC FAST FACTS Allergy Testing 2023

Read more on ASCIA – Australasian Society of Clinical Immunology and Allergy website

Healthdirect 24hr 7 days a week hotline

24 hour health advice you can count on

1800 022 222

Government Accredited with over 140 information partners

We are a government-funded service, providing quality, approved health information and advice

Australian Government, health department logo ACT Government logo New South Wales government, health department logo Northen Territory Government logo Queensland Government logo Government of South Australia, health department logo Tasmanian government logo Victorian government logo Government of Western Australia, health department logo

Healthdirect Australia acknowledges the Traditional Owners of Country throughout Australia and their continuing connection to land, sea and community. We pay our respects to the Traditional Owners and to Elders both past and present.