Most experts consider metformin to be the safest medicine for type 2 diabetes because it has been used for many decades, is effective, affordable, and safe. Metformin is recommended as a first-line treatment for type 2 diabetes by the American Diabetes Association (ADA).