Diabetes develops when the body can't make any or enough insulin, and/or when it can't properly use the insulin it makes. For some people with diabetes, the body becomes resistant to insulin. In these cases, insulin is still produced, but the body does not respond to the effects of insulin as it should. This is called insulin resistance. Whether from not enough insulin or the inability to use insulin properly, the result is high levels of glucose in the blood, or hyperglycemia.
Diabetes is a condition in which the body cannot properly store and use fuel for energy. The body's main fuel is a form of sugar called glucose, which comes from food (after it has been broken down). Glucose enters the blood and is used by cells for energy. To use glucose, the body needs a hormone called insulin that's made by the pancreas. Insulin is important because it allows glucose to leave the blood and enter the body's cells.
If you are symptomatic (e.g., increased thirst or urination, unexplained weight loss), your doctor may only use a single test to diagnose diabetes/prediabetes. If you don't have any symptoms, one high blood glucose test doesn't necessarily mean you have diabetes/prediabetes. Your doctor will repeat one of the blood tests again on another day (generally 1 week later) to confirm the diagnosis.

^ Jump up to: a b Petzold A, Solimena M, Knoch KP (October 2015). "Mechanisms of Beta Cell Dysfunction Associated With Viral Infection". Current Diabetes Reports (Review). 15 (10): 73. doi:10.1007/s11892-015-0654-x. PMC 4539350. PMID 26280364. So far, none of the hypotheses accounting for virus-induced beta cell autoimmunity has been supported by stringent evidence in humans, and the involvement of several mechanisms rather than just one is also plausible.

This depends on the type of diabetes. Type 2 diabetes, and to a lesser extent type 1 diabetes, may run in families. If a parent has diabetes, their children will not necessarily get it but they are at an increased risk. In type 2 diabetes, lifestyle factors such as being overweight (obesity) and lack of exercise can significantly increase your risk of developing diabetes. Some rarer types of diabetes mellitus may be inherited.
A random blood sugar of greater than 11.1 mmol/l (200 mg/dl) in association with typical symptoms[23] or a glycated hemoglobin (HbA1c) of ≥ 48 mmol/mol (≥ 6.5 DCCT %) is another method of diagnosing diabetes.[10] In 2009 an International Expert Committee that included representatives of the American Diabetes Association (ADA), the International Diabetes Federation (IDF), and the European Association for the Study of Diabetes (EASD) recommended that a threshold of ≥ 48 mmol/mol (≥ 6.5 DCCT %) should be used to diagnose diabetes.[48] This recommendation was adopted by the American Diabetes Association in 2010.[49] Positive tests should be repeated unless the person presents with typical symptoms and blood sugars >11.1 mmol/l (>200 mg/dl).[48]
Regular ophthalmological examinations are recommended for early detection of diabetic retinopathy. The patient is educated about diabetes, its possible complications and their management, and the importance of adherence to the prescribed therapy. The patient is taught the importance of maintaining normal blood pressure levels (120/80 mm Hg or lower). Control of even mild-to-moderate hypertension results in fewer diabetic complications, esp. nephropathy, cerebrovascular disease, and cardiovascular disease. Limiting alcohol intake to approximately one drink daily and avoiding tobacco are also important for self-management. Emotional support and a realistic assessment of the patient's condition are offered; this assessment should stress that, with proper treatment, the patient can have a near-normal lifestyle and life expectancy. Long-term goals for a patient with diabetes should include achieving and maintaining optimal metabolic outcomes to prevent complications; modifying diet and lifestyle to prevent and treat obesity, dyslipidemia, cardiovascular disease, hypertension, and nephropathy; improving physical activity; and allowing for the patient’s nutritional and psychosocial needs and preferences. Assistance is offered to help the patient develop positive coping strategies. It is estimated that 23 million Americans will be diabetic by the year 2030. The increasing prevalence of obesity coincides with the increasing incidence of diabetes; approx. 45% of those diagnosed receive optimal care according to established guidelines. According to the CDC, the NIH, and the ADA, about 40% of Americans between ages 40 and 74 have prediabetes, putting them at increased risk for type 2 diabetes and cardiovascular disease. Lifestyle changes with a focus on decreasing obesity can prevent or delay the onset of diabetes in 58% of this population. The patient and family should be referred to local and national support and information groups and may require psychological counseling.
When there is excess glucose present in the blood, as with type 2 diabetes, the kidneys react by flushing it out of the blood and into the urine. This results in more urine production and the need to urinate more frequently, as well as an increased risk of urinary tract infections (UTIs) in men and women. People with type 2 diabetes are twice as likely to get a UTI as people without the disease, and the risk is higher in women than in men.