What a Diabetes Test Measures

A diabetes test measures how much glucose (sugar) is in your blood. The test does not diagnose you on the spot — it gives your doctor a number that, combined with other tests or symptoms, helps them decide whether you have diabetes, prediabetes, or normal blood sugar control.

There are several different tests, and they measure different things. Some show your blood sugar right now. Others show your average over weeks or months. Some are done in a lab, others in a doctor's office or at home. Which test your doctor orders depends on your age, symptoms, and what they are trying to find out.

Understanding what each test does — and what the numbers mean — helps you talk to your doctor about your results and what comes next.

Key Takeaways

  • The main diabetes tests are the fasting glucose test, the random glucose test, the oral glucose tolerance test, and the A1C test, each measuring blood sugar in a different way.
  • A fasting glucose test requires you to eat nothing after midnight and come in the next morning, while a random test can be done anytime without preparation.
  • The A1C test shows your average blood sugar over the past two to three months and is often used to diagnose diabetes and track control over time.
  • Normal, prediabetes, and diabetes ranges differ for each test, so you cannot compare a fasting number directly to a random number or an A1C.
  • If your first test suggests diabetes, your doctor will usually order a second test on a different day to confirm before making a diagnosis.

The Fasting Glucose Test

The fasting glucose test measures your blood sugar after you have not eaten for at least eight hours, usually overnight. You go to a lab or doctor's office in the morning, have blood drawn, and the lab measures the glucose level. This test shows how well your body controls blood sugar when you are at rest and have not eaten recently.

You need to prepare for this test: do not eat or drink anything except water after midnight the night before. You can take your regular medicines unless your doctor tells you otherwise. The test itself takes a few minutes — a technician draws blood from your arm, and you get the result in a day or two.

A fasting glucose under 100 mg/dL is considered normal. Between 100 and 125 mg/dL is prediabetes. At 126 mg/dL or higher on two separate tests, diabetes is diagnosed. If your first test is 126 or above, your doctor will order a second fasting test or a different test to confirm.

The Random Glucose Test

The random glucose test measures your blood sugar at any time of day, without fasting. You can eat normally before the test. This test is useful when someone has symptoms of diabetes — like thirst, frequent urination, or fatigue — and the doctor wants a quick answer without waiting for a fasting appointment.

A random glucose under 140 mg/dL is normal. At 200 mg/dL or higher, especially if you have symptoms, diabetes may be diagnosed. However, a single random test is not enough to diagnose diabetes on its own — your doctor will order a fasting test or A1C to confirm.

The Oral Glucose Tolerance Test

The oral glucose tolerance test (OGTT) is less common than the fasting test but is sometimes used to diagnose prediabetes or gestational diabetes (diabetes during pregnancy). You fast overnight, have your blood drawn, then drink a sugary liquid. Your blood is drawn again two hours later to see how your body handles the sugar.

This test takes about three hours total and requires two blood draws. It is more involved than a fasting test, so doctors use it mainly when they need detailed information about how your body processes glucose — for instance, if a fasting test was borderline or if you are pregnant.

A two-hour glucose under 140 mg/dL is normal. Between 140 and 199 mg/dL is prediabetes. At 200 mg/dL or higher, diabetes is diagnosed.

The A1C Test

The A1C test (also called HbA1c) measures your average blood sugar over the past two to three months. It does this by measuring how much glucose has attached to hemoglobin, a protein in your red blood cells. Because red blood cells live about three months, the A1C reflects your typical blood sugar during that time.

You do not need to fast for an A1C test. You can eat and drink normally. A technician draws blood, and the result comes back in a few days. This test is useful both for diagnosis and for tracking how well your diabetes is controlled over time — your doctor may order it every three months or every six months depending on your situation.

An A1C below 5.7% is normal. Between 5.7% and 6.4% is prediabetes. At 6.5% or higher on two separate tests, diabetes is diagnosed. If you already have diabetes, your doctor may aim for an A1C target between 7% and 8%, though the target varies by person.

What Happens After Your Test

Your doctor will call or mail your results within a few days. If the number is normal, you may not need another test for a year or more, depending on your age and risk factors. If the number suggests prediabetes, your doctor will usually recommend lifestyle changes — more physical activity, changes to diet, weight loss if needed — and may order another test in three to six months to see if the number improves.

If the number suggests diabetes, your doctor will order a second test on a different day to confirm. Once diabetes is confirmed, your doctor will discuss treatment options, which may include lifestyle changes, medicines, or both. You will also learn how to monitor your blood sugar at home if needed, and your doctor will schedule follow-up visits to track your progress.

If you have questions about your results or do not understand what the numbers mean, ask your doctor to explain them in plain language. Knowing your numbers helps you and your doctor make decisions about your health.

Where to Get a Diabetes Test

You can get a diabetes test through your primary care doctor, an urgent care clinic, a community health center, or a hospital lab. If you do not have a regular doctor, you can call your local health department or search for a community health center in your area — many offer tests on a sliding fee scale based on income.

Some pharmacies, including major chains, offer basic glucose screening in-store, though these are not diagnostic tests and are meant as a first step only. If a pharmacy screening suggests high blood sugar, follow up with your doctor for a formal test.

If cost is a concern, ask your doctor's office whether they offer a payment plan or whether you can be referred to a lower-cost clinic. Some employers offer free or low-cost health screenings, including diabetes tests, through workplace wellness programs.

Frequently Asked Questions

Can I eat before a diabetes test?

It depends on the test. For a fasting glucose test, you must not eat or drink anything except water after midnight. For a random glucose test or A1C test, you can eat normally. Ask your doctor which test you are having and whether you need to fast.

What if my first test shows diabetes but I feel fine?

Many people with high blood sugar have no symptoms at first. That is why the test is important — it catches the problem before you feel sick. Your doctor will order a second test to confirm and then discuss treatment options with you.

How often do I need a diabetes test?

If you have no symptoms and no risk factors, most doctors recommend screening every three years starting at age 45, or earlier if you are overweight or have a family history of diabetes. If you have prediabetes or diabetes, your doctor will order tests more often — usually every three to six months — to track your progress.

Is the A1C test better than a fasting test?

They measure different things. A fasting test shows your blood sugar at one moment; an A1C shows your average over months. Your doctor may use both to get a complete picture. Neither is "better" — they answer different questions.

What should I do if I cannot afford the test?

Call your local health department or search for a federally may have access to health center (FQHC) in your area — both offer tests on a sliding fee scale. Some nonprofits also run free screening events. Ask your doctor's office whether they know of low-cost options in your community.