Threshold for diagnosis of diabetes is based on the relationship between results of glucose tolerance tests, fasting glucose or HbA1c and complications such as retinal problems.[10] A fasting or random blood sugar is preferred over the glucose tolerance test, as they are more convenient for people.[10] HbA1c has the advantages that fasting is not required and results are more stable but has the disadvantage that the test is more costly than measurement of blood glucose.[50] It is estimated that 20% of people with diabetes in the United States do not realize that they have the disease.[10]
Type 2 diabetes can be prevented with lifestyle changes. People who are overweight and lose as little as 7 percent of their body weight and who increase physical activity (for example, walking 30 minutes per day) can decrease their risk of diabetes mellitus by more than 50%. Metformin and acarbose, drugs that are used to treat diabetes, may reduce the risk of diabetes in people with impaired glucose regulation.
Doctors can monitor treatment using a blood test called hemoglobin A1C. When the blood glucose levels are high, changes occur in hemoglobin, the protein that carries oxygen in the blood. These changes are in direct proportion to the blood glucose levels over an extended period. The higher the hemoglobin A1C level, the higher the person's glucose levels have been. Thus, unlike the blood glucose measurement, which reveals the level at a particular moment, the hemoglobin A1Cmeasurement demonstrates whether the blood glucose levels have been controlled over the previous few months.

People with full-blown type 2 diabetes are not able to use the hormone insulin properly, and have what’s called insulin resistance. Insulin is necessary for glucose, or sugar, to get from your blood into your cells to be used for energy. When there is not enough insulin — or when the hormone doesn’t function as it should — glucose accumulates in the blood instead of being used by the cells. This sugar accumulation may lead to the aforementioned complications.