Diabetes is one of the first diseases described  with an Egyptian manuscript from c. 1500 BCE mentioning “too great emptying of the urine.”  The first described cases are believed to be of type 1 diabetes.  Indian physicians around the same time identified the disease and classified it as madhumeha or honey urine noting that the urine would attract ants.  The term "diabetes" or "to pass through" was first used in 250 BC by the Greek Apollonius of Memphis.  Type 1 and type 2 diabetes were identified as separate conditions for the first time by the Indian physicians Sushruta and Charaka in 400-500 CE with type 1 associated with youth and type 2 with obesity.  The term "mellitus" or "from honey" was added by Thomas Willis in the late 1600s to separate the condition from diabetes insipidus which is also associated with frequent urination. 
The first complete clinical description of diabetes was given by the Ancient Greek physician Aretaeus of Cappadocia ( fl. 1st century CE), who also noted the excessive amount of urine which passed through the kidneys.” 
Diabetes mellitus appears to have been a death sentence in the ancient era. Hippocrates makes no mention of it, which may indicate that he felt the disease was incurable. Aretaeus did attempt to treat it but could not give a good prognosis; he commented that "life (with diabetes) is short, disgusting and painful."  The disease must have been rare during the time of the Roman empire with Galen commenting that he had only seen two cases during his career. 
In medieval Persia, Avicenna (980–1037) provided a detailed account on diabetes mellitus in The Canon of Medicine, "describing the abnormal appetite and the collapse of sexual functions," and he documented the sweet taste of diabetic urine. Like Aretaeus before him, Avicenna recognized a primary and secondary diabetes. He also described diabetic gangrene, and treated diabetes using a mixture of lupine, trigonella ( fenugreek), and zedoary seed. Avicenna also described diabetes insipidus very precisely for the first time, though it was much later that Thomas Willis differentiated it from diabetes mellitus in a chapter of his book Pharmaceutice rationalis (1674).
The sweet urine symptom of diabetes is evident in the Chinese name for diabetes, táng niǎo bìng (糖尿病), meaning "sugar urine disease". This name has also been borrowed into Korean and Japanese. In 1776 Matthew Dobson confirmed that the sweet taste comes from an excess of a kind of sugar (called glucose) in the urine and blood. 
The first recorded doctors notes regarding the treatment of diabetes came in 1797 by John Rollo, which largely recommended a meat heavy diet. 
Although diabetes has been recognized since antiquity, and treatments of various efficacy have been known in various regions since the Middle Ages,[ citation needed] and in legend for much longer, pathogenesis of diabetes has only been understood experimentally since about 1900.  An effective treatment was only developed after the Canadians Frederick Banting and Charles Best first used insulin in 1921 and 1922. 
The discovery of a role for the pancreas in diabetes is generally ascribed to Joseph von Mering and Oskar Minkowski, who in 1889 found that dogs whose pancreas was removed developed all the signs and symptoms of diabetes and died shortly afterwards.  In 1910, Sir Edward Albert Sharpey-Schafer suggested that people with diabetes were deficient in a single chemical that was normally produced by the pancreas—he proposed calling this substance insulin, from the Latin insula, meaning island, in reference to the insulin-producing islets of Langerhans in the pancreas. The endocrine role of the pancreas in metabolism, and indeed the existence of insulin, was further clarified in 1921, when Sir Frederick Grant Banting and Charles Herbert Best repeated the work of Von Mering and Minkowski, and went further to demonstrate they could reverse induced diabetes in dogs by giving them an extract from the pancreatic islets of Langerhans of healthy dogs.  The islets of Langerhans was discovered in 1869 by an anatomist named Paul Langerhans. He identified the keys cells in the pancreas which produce the main substance that controls glucose levels in the body. 
Banting, Best, and colleagues (especially the chemist Collip) went on to purify the hormone insulin from bovine pancreases at the University of Toronto. This led to the availability of an effective treatment—insulin injections—and the first patient was treated in 1922. The first successful patient treated was a 14-year-old boy, Leonard Thompson, who weighed only 65 pounds. When he was given the extract on January 23, his ketonuria and glycosuria were almost eliminated. His blood sugar levels dropped as low as 77%. Six more patients were treated in February 1922 and quickly experienced an improved standard of life. A pharmaceutical firm named Eli Lilly and Company, with the University of Toronto, began the mass production of insulin by the fall of 1923, 25,000 patients were being treated in Canada and the United States.  For this, Banting and laboratory director John MacLeod received the Nobel Prize in Physiology or Medicine in 1923; both shared their Prize money with others in the team who were not recognized, in particular Best and Collip. Banting and Best made the patent available without charge and did not attempt to control commercial production. Insulin production and therapy rapidly spread around the world, largely as a result of this decision. Banting is honored by World Diabetes Day which is held on his birthday, November 14.
Other landmark discoveries include: 
- Development of Metformin in 1922 for treatment of type 2 Diabetes
- Development of the long acting insulin NPH in the 1940s by Novo Nordisk 
- Identification of the first of the sulfonylureas in 1942
- Reintroduction of the use of biguanides for Type 2 diabetes in the late 1950s. The initial phenformin was withdrawn worldwide (in the U.S. in 1977) due to its potential for sometimes fatal lactic acidosis and metformin was first marketed in France in 1979, but not until 1994 in the US.
- The determination of the amino acid sequence of insulin (by Sir Frederick Sanger, for which he received a Nobel Prize). Insulin was the first protein that the amino acid structure was determined. 
- The radioimmunoassay for insulin, as discovered by Rosalyn Yalow and Solomon Berson (gaining Yalow the 1977 Nobel Prize in Physiology or Medicine) 
- The three-dimensional structure of insulin ( )
- Dr Gerald Reaven's identification of the constellation of symptoms now called metabolic syndrome in 1988
- Demonstration that intensive glycemic control in type 1 diabetes reduces chronic side effects more as glucose levels approach 'normal' in a large longitudinal study,  and also in type 2 diabetics in other large studies
- Identification of the first thiazolidinedione as an effective insulin sensitizer during the 1990s
In 1980, U.S. biotech company Genentech developed biosynthetic human insulin. The insulin was isolated from genetically altered bacteria (the bacteria contain the human gene for synthesizing synthetic human insulin), which produce large quantities of insulin. The purified insulin is distributed to pharmacies for use by diabetes patients. Initially, this development was not regarded by the medical profession as a clinically meaningful development. However, by 1996, the advent of insulin analogues which had vastly improved absorption, distribution, metabolism, and excretion (ADME) characteristics which were clinically meaningful based on this early biotechnology development.
In 2005, a new drug to treat type 2 diabetes, derived from the Gila monster was approved by the Food and Drug Administration.  The venom of the lizard contains exendin 4, which triggers one of the insulin-releasing pathways. 
- Ripoll, Brian C. Leutholtz, Ignacio. Exercise and disease management (2nd ed.). Boca Raton: CRC Press. p. 25. ISBN 978-1-4398-2759-8.
- editor, Leonid Poretsky, (2009). Principles of diabetes mellitus (2nd ed.). New York: Springer. p. 3. ISBN 978-0-387-09840-1.
- Dallas, John (2011). "Royal College of Physicians of Edinburgh. Diabetes, Doctors and Dogs: An exhibition on Diabetes and Endocrinology by the College Library for the 43rd St. Andrew's Day Festival Symposium"
- Medvei, Victor Cornelius (1993). The history of clinical endocrinology. Carnforth, Lancs., U.K: Parthenon Pub. Group. pp. 23–34. ISBN 1-85070-427-9.
- Dobson, M. (1776). "Nature of the urine in diabetes". Medical Observations and Inquiries. 5: 298–310.
- Rollo, John (1797). Notes of a diabetic case. Deptford: J Delahoy. OCLC 61326967.
- Patlak M (December 2002). "New weapons to combat an ancient disease: treating diabetes". The FASEB Journal. 16 (14): 1853. doi: 10.1096/fj.02-0974bkt. PMID 12468446.
- Von Mehring J, Minkowski O (1890). "Diabetes mellitus nach pankreasexstirpation". Arch Exp Pathol Pharmakol. 26 (5–6): 371–387. doi: 10.1007/BF01831214.
- Banting FG, Best CH, Collip JB, Campbell WR, Fletcher AA (November 1991). "Pancreatic extracts in the treatment of diabetes mellitus: preliminary report. 1922". CMAJ. 145 (10): 1281–6. PMC 1335942. PMID 1933711.
- Bryan, Jenny (2004). Just the Facts Diabetes. Chicago, Illinois: Heinemann Library a division of Reed Elsevier Inc. p. 7. ISBN 1-4034-4600-8.
- Anatomy and Physiology: The Unity of From and Function. Saladin Sixth Edition. New York, N.Y. 2012 by McGraw- Hill Companies, InC
- Himsworth (1936). "Diabetes mellitus: its differentiation into insulin-sensitive and insulin-insensitive types". Lancet. 227 (5864): 127–30. doi: 10.1016/S0140-6736(01)36134-2.
- Yalow RS, Berson SA (July 1960). "Immunoassay of endogenous plasma insulin in man". The Journal of Clinical Investigation. 39 (7): 1157–75. doi: 10.1172/JCI104130. PMC 441860. PMID 13846364.
- The Diabetes Control and Complications Trial Research Group (September 1993). "The effect of intensive treatment of diabetes on the development and progression of long-term complications in insulin-dependent diabetes mellitus". The New England Journal of Medicine. 329 (14): 977–86. doi: 10.1056/NEJM199309303291401. PMID 8366922.
- Pollack, Andrew (2005-04-30). "Lizard-Derived Diabetes Drug Is Approved by the F.D.A." The New York Times. ISSN 0362-4331. Retrieved 2016-08-23.
- Crow, James Mitchell. "Venomous drugs: The diabetes-busting lizard". Retrieved 2016-08-23.
- Polonsky, K. S. (2012). "The Past 200 Years in Diabetes". New England Journal of Medicine. 367 (14): 1332–1340. doi: 10.1056/NEJMra1110560. PMID 23034021.
- American Association of Clinical Endocrinologists Type II Lifestyle Guidelines