Metformin can affect sex drive, but the direction of that effect depends almost entirely on whether you are male or female and what condition you are treating. In men with type 2 diabetes, research links metformin to lower testosterone and reduced sexual desire. In women with polycystic ovary syndrome or insulin resistance, the drug tends to improve sexual function. This split makes metformin unusual among widely prescribed medications, and it means the answer to whether the drug will change your libido is genuinely different depending on who you are.
What Research Shows in Men
The clearest signal that metformin can dampen male sex drive comes from studies on men with type 2 diabetes. A study comparing different diabetes medications found that metformin led to a significant reduction in testosterone levels, lower sex drive, and a higher incidence of erectile difficulties tied to that testosterone drop.1PubMed Central. Erectile Dysfunction and Low Sex Drive in Men with Type 2 DM: The Potential Role of Diabetic Pharmacotherapy By contrast, men taking sulfonylureas (a different class of diabetes drug) in that same study experienced testosterone increases and better sexual function. The comparison is striking because both groups had the same underlying disease, pointing toward the medication rather than diabetes alone as the driver of the difference.
A separate real-world study confirmed this testosterone-lowering pattern. After three months of metformin therapy, men with type 2 diabetes showed reduced testosterone levels. Interestingly, the researchers noted that when blood sugar improved on its own, testosterone tended to rise, but metformin appeared to counteract that natural rebound.2PubMed Central. Effect of Metformin on Testosterone Levels in Male Patients With Type 2 Diabetes Mellitus Treated With Insulin So in men, the drug seems to push testosterone in the opposite direction from what better metabolic health would otherwise produce.
It is worth noting that most men taking metformin do not report severe sexual dysfunction. The effects described in these studies are statistically meaningful across groups, but individual experiences range from no noticeable change to significant drops in desire. Diabetes itself is one of the most common medical causes of sexual problems in men, so teasing apart how much is the disease and how much is the drug remains genuinely difficult.
What Research Shows in Women
For women, the story flips. Metformin consistently appears to help sexual function, particularly in women with PCOS or insulin resistance. A pilot study of women with diabetes and prediabetes measured sexual function before and after metformin treatment and found that the drug normalized sexual desire and sexual satisfaction in both groups. In women with diabetes, metformin also improved lubrication, arousal, orgasm, and pain during sex, and these improvements tracked closely with reductions in insulin resistance.3PubMed. Sexual Functioning and Depressive Symptoms in Women with Diabetes and Prediabetes Receiving Metformin Therapy: A Pilot Study
Another study focused on women with PCOS and obesity found a similar pattern: scores on a validated sexual function questionnaire improved across the board after metformin treatment, with the strongest gains in lubrication and reduced pain.4Advances in Sexual Medicine. Sexual Function in Patients with PCOS and/or Obesity before and after Metformin Treatment The improvements were modest in some domains, but the overall picture was consistently positive.
The reason this matters for sex drive specifically is that many women with PCOS or insulin resistance start from a baseline of impaired sexual function. Irregular hormones, excess androgens, weight gain, mood changes, and physical discomfort all take a toll on desire and satisfaction. When metformin corrects some of those underlying problems, sexual function tends to come along for the ride.
Why the Effects Differ Between Men and Women
The key to understanding this split lies in what metformin does to sex hormones and why that matters differently depending on your starting point. In both sexes, metformin tends to lower testosterone. But in men, lower testosterone is generally unwelcome: it is associated with reduced desire, fatigue, and erectile problems. In women with PCOS, excess testosterone is the problem. These women often have elevated androgens that drive acne, unwanted hair growth, irregular periods, and disrupted sexual function. When metformin brings those elevated levels down, the result is therapeutic.
Research on women with PCOS has documented significant drops in total testosterone alongside improvements in acne and excess hair growth after metformin therapy.5PubMed. Effects of metformin therapy on hyperandrogenism in women with polycystic ovarian syndrome A follow-up study found that metformin also improved the ratio of free testosterone to other androgens and increased sex hormone-binding globulin (a protein that mops up excess testosterone in the bloodstream), further reducing the hormonal imbalance.6Journal of Angiotherapy. Effect of Metformin and Vitamin D Supplementation on Metabolic and Hormonal Profiles in Polycystic Ovary Syndrome Women: A Follow-Up Study
Insulin resistance itself plays a central role in this story. High insulin levels stimulate the ovaries to produce more androgens, which worsens PCOS symptoms. By improving insulin sensitivity, metformin reduces the hormonal overshoot at its source. In women with diabetes or prediabetes, the improvements in sexual function correlated with improvements in insulin resistance, suggesting the metabolic fix is a major part of the mechanism.3PubMed. Sexual Functioning and Depressive Symptoms in Women with Diabetes and Prediabetes Receiving Metformin Therapy: A Pilot Study In men, the testosterone-lowering effect does not have the same compensating benefit, so the net outcome tilts negative.
The Vascular Angle
Sex drive is not purely hormonal. Physical arousal depends heavily on blood flow, and metformin has documented effects on blood vessels that could, in theory, help sexual function regardless of what it does to testosterone. A review of the evidence found that metformin improves endothelium-dependent vasodilation (basically, it helps blood vessels relax and open properly) and reduces overactive signaling from the sympathetic nervous system, both of which are relevant to erectile function.7PubMed Central. Effects of metformin on endothelial health and erectile dysfunction
This creates something of a paradox in men. On one hand, metformin lowers testosterone, which can reduce desire and make erections harder to achieve. On the other hand, it improves the vascular health that erections depend on. Which effect dominates likely depends on the individual: a man whose erectile problems stem primarily from poor blood vessel health might benefit more from the vascular improvements, while a man whose issues are more hormone-driven might notice the testosterone drop more acutely. Researchers have not yet sorted out which effect wins on average, partly because the two pathways are hard to study in isolation.
For women, the vascular benefits and the hormonal benefits both point in the same positive direction, which probably explains why the evidence for improved sexual function in women is more consistently favorable.
Individual Cases That Break the Pattern
Group-level findings tell you about averages, but individual responses to metformin can be unpredictable. A published case report described a 57-year-old man newly diagnosed with type 2 diabetes who developed erectile dysfunction within two weeks of starting metformin. His sexual function returned to normal after the drug was stopped. When his doctors restarted metformin to test the connection, the erectile problems came back within about two weeks, strongly suggesting the drug was responsible.8PubMed Central. Erectile dysfunction as a possible important side effect of metformin: A case report
A single case report cannot tell you how common this kind of reaction is, and the speed of onset (two weeks) is faster than you would expect from a gradual testosterone decline. This suggests that in some individuals, metformin may affect sexual function through pathways beyond just hormone levels, possibly vascular or neurological mechanisms that happen to work against a particular person’s physiology. The case also highlights that the effect was fully reversible once the drug was stopped, which is reassuring for anyone who suspects their medication is the culprit.
Case reports like this tend to get published precisely because they are unusual. If metformin commonly caused rapid-onset erectile dysfunction, it would have shown up in the large clinical trials that led to its approval decades ago. Still, for the individual experiencing it, the rarity is beside the point. If your sexual function changed noticeably after starting metformin, that is a conversation worth having with your doctor rather than something to dismiss because “most people are fine.”
Separating the Drug from the Disease
One of the trickiest aspects of this whole topic is that the conditions metformin treats are themselves major causes of sexual dysfunction. Type 2 diabetes damages nerves and blood vessels over time, leading to erectile problems in men and reduced arousal and lubrication in women. PCOS disrupts hormonal balance in ways that affect desire, mood, and physical comfort during sex. Insulin resistance, even without a formal diabetes diagnosis, is linked to fatigue, weight gain, and hormonal changes that can dampen libido.
This means that when someone taking metformin notices changes in their sex life, the drug is only one of several plausible explanations. The underlying disease may be progressing. Other medications added alongside metformin (blood pressure drugs, statins, antidepressants) are well-known libido disruptors. Weight changes, stress about a new diagnosis, and relationship dynamics all play roles too. The studies cited above try to control for some of these variables, but none perfectly isolate metformin’s effect from everything else going on in a patient’s life.
What the research does make clear is that metformin is not a neutral bystander when it comes to sexual health. It actively changes hormonal and vascular parameters that matter for sex drive and function. Whether those changes help or hurt depends on the starting conditions, and that is why the male-versus-female pattern in the literature is so consistent: the drug’s biochemical actions are the same in everyone, but the clinical meaning of those actions reverses depending on hormonal context.
Practical Steps If You Notice Changes
If you suspect metformin is affecting your sex drive, the first step is to resist the urge to stop the medication without medical guidance. Metformin is a cornerstone drug for managing blood sugar and reducing long-term complications of diabetes. Stopping it abruptly can have consequences that are more serious than the sexual side effects you are trying to address.
Instead, bring it up directly with your prescriber. Many people feel awkward raising sexual concerns, but doctors who manage diabetes deal with these conversations regularly. They can check your testosterone levels with a simple blood test, which helps determine whether the issue is hormonal. If testosterone is low, options include adjusting the metformin dose, adding another medication to support testosterone, or switching to a different diabetes drug that does not have the same hormonal effect.
For women on metformin for PCOS, a decline in sex drive after starting the drug would actually be unusual based on the available evidence. If it happens, it is more likely related to other factors: changes in mood, the adjustment period on a new medication, or gastrointestinal side effects (nausea and stomach discomfort are common early on) that indirectly dampen interest in sex. These side effects tend to settle after the first few weeks.
What Lab Research Suggests About Deeper Mechanisms
Beyond clinical observations, laboratory studies have explored how metformin influences reproductive hormones at the cellular level. In rat pituitary cells, metformin reduced the release of LH and FSH, the hormones that signal the testes and ovaries to produce sex steroids. The drug dampened the pituitary’s response to GnRH, the brain hormone that normally triggers LH and FSH release.9PubMed. Metformin decreases GnRH- and activin-induced gonadotropin secretion in rat pituitary cells This suggests that metformin may lower sex hormones not just by acting on the ovaries or testes directly, but by turning down the signals from the brain that tell those organs to produce hormones in the first place.
In a study using bovine ovarian cells, metformin reduced progesterone and estradiol production through activation of an energy-sensing enzyme called AMPK.10PubMed. Effects of metformin on bovine granulosa cells steroidogenesis: possible involvement of adenosine 5′ monophosphate-activated protein kinase (AMPK) AMPK is actually the same pathway through which metformin improves insulin sensitivity and lowers blood sugar. In other words, the drug’s effects on metabolism and its effects on sex hormones appear to share the same molecular trigger. This is useful to know because it means the hormonal effects are not an accidental quirk; they are baked into metformin’s core mechanism of action.
Animal and cell studies do not translate perfectly to humans, and the doses used in laboratory settings are often much higher than what patients take. But these findings help explain why metformin’s influence on sex hormones is consistent and predictable in direction, even if the magnitude varies between individuals. They also underline an uncomfortable truth for drug developers: you probably cannot redesign metformin to keep the metabolic benefits while eliminating the hormonal effects, because both stem from the same underlying pathway. For patients, the practical implication is that if metformin is affecting your sex drive, the effect is not random or imaginary. It is a predictable extension of how the drug works at a basic biological level.