Metformin does not usually affect sexual function. Metformin is a glucose-lowering drug for type 2 diabetes, which mainly lowers blood sugar and reduces the amount of food the patient eats. Its side effects can mainly cause damage to liver and kidney function, and it also has an effect on the patient’s digestive system, which can lead to loss of appetite, acid reflux, heartburn and other symptoms. Diabetes has a greater impact on the patient’s function. Diabetes can lead to vascular and neurological lesions and erectile dysfunction. If a diabetic patient develops erectile dysfunction, the first consideration is that it is due to the primary disease and may have little to do with oral metformin.