What Doctor Should You See for Erectile Dysfunction?

Your primary care doctor is the best first stop for erectile dysfunction. A general practitioner can run the initial tests, identify common causes like diabetes or heart disease, prescribe first-line medications, and refer you to a specialist if needed. Most men with ED never need to see beyond their primary care doctor, but depending on what’s driving the problem, you may eventually work with a urologist, endocrinologist, cardiologist, or sex therapist.

Start With Your Primary Care Doctor

A primary care physician can handle the full initial workup for ED. The appointment typically involves a physical exam, including checking the penis and testicles for any structural issues and testing for nerve damage. Your doctor will also ask about your medical and sexual history: when the problem started, whether it happens every time or only in certain situations, what medications you take, and whether you smoke or drink.

Blood work is a key part of that first visit. At minimum, expect a morning testosterone draw (testosterone peaks around 8 a.m., so early blood draws give the most accurate reading). Your doctor will likely also order a blood sugar or hemoglobin A1c test, a lipid panel to check cholesterol, and a basic chemistry panel. These tests aren’t just about ED. They screen for diabetes, heart disease risk, and hormonal problems that could be causing or worsening your erections.

If the cause turns out to be straightforward, such as mildly low testosterone, early-stage diabetes, or high blood pressure, your primary care doctor can manage treatment directly. That includes prescribing oral ED medications and adjusting any existing prescriptions that might be contributing to the problem.

When You Need a Urologist

A urologist specializes in the urinary tract and male reproductive system, making them the go-to specialist for ED that doesn’t respond to first-line treatment. If oral medications aren’t working, a urologist can offer options your primary care doctor typically won’t.

Penile injections are one example. You learn to use a tiny needle to inject medication into the side of the penis, which relaxes blood vessels and improves blood flow. It sounds intimidating, but the needle is very small, and many men find the results more reliable than pills. Low-intensity shockwave therapy is another in-office option: a handheld wand delivers mild shockwaves to the penis to stimulate new blood vessel growth. It’s painless and requires no anesthesia. For men who’ve exhausted other options, urologists also perform penile implant surgery, a procedure with high satisfaction rates.

Your primary care doctor will typically refer you to a urologist if oral medications fail, if there’s a structural concern found during the physical exam, or if your ED has an unusual presentation that warrants closer investigation.

The Heart Health Connection

ED and cardiovascular disease share the same underlying mechanism: damaged or narrowed blood vessels. The arteries supplying the penis are smaller than those feeding the heart, so they tend to show problems first. Erectile dysfunction can precede a heart attack or stroke by several years, which is why doctors increasingly treat it as an early warning sign.

A cardiology referral is most likely if you have a complicated cardiovascular profile, a recent heart attack, heart failure, or unstable chest pain. In those cases, stress testing or cardiology clearance is typically needed before starting ED medication. Men who don’t respond to standard ED drugs and also have cardiovascular risk factors may benefit from seeing a cardiologist to address the root vascular problem. Getting cholesterol, blood pressure, and blood sugar under control often improves erections on its own.

When Hormones Are the Issue

If your blood work reveals low testosterone, your primary care doctor can often manage testosterone replacement therapy. But if levels are very low, or if the pattern suggests the problem originates in the pituitary gland rather than the testes, you may be referred to an endocrinologist.

The distinction matters because the treatment changes. When testosterone is extremely low (below roughly 150 ng/dL), doctors check prolactin levels to rule out a pituitary tumor called a prolactinoma. An endocrinologist can also sort out whether the issue is the testes failing to produce enough testosterone (primary hypogonadism) or the brain not sending the right signals (secondary hypogonadism). These are different conditions with different treatments. For the majority of men with mildly low testosterone, though, an endocrinology referral isn’t necessary.

When the Cause Is Psychological

Not all ED is physical. Performance anxiety, relationship stress, depression, and past trauma can all interfere with erections. A key clue is situational ED: if you can get erections during sleep or masturbation but not with a partner, the cause is more likely psychological than vascular or hormonal.

A sex therapist works with individuals or couples to address performance anxiety, intimacy issues, and other psychological barriers to sexual function. They’re licensed mental health professionals with specialized training, not medical doctors, so they won’t prescribe medication. The standard recommendation is to see a primary care doctor or urologist first to rule out physical causes, then add therapy if a psychological component is identified. Many men benefit from a combination of medication and therapy, especially when anxiety has built up over months or years of dealing with ED.

Telehealth as a First Step

Online platforms now offer ED consultations and prescriptions through telemedicine, and for otherwise healthy men, this can be a legitimate and convenient option. These services use structured questionnaires that screen for cardiovascular risk, check for dangerous drug interactions (particularly with nitrate medications used for chest pain), and flag uncontrolled high blood pressure. If your answers raise any red flags, a clinician reviews your case and may recommend in-person evaluation instead.

Telehealth works best for men who are generally healthy, have no complicated medical history, and mainly need a prescription for a standard oral ED medication. It’s not a substitute for a thorough workup if you have diabetes, heart disease, or other chronic conditions that could be driving the problem. You also won’t get blood work, a physical exam, or access to advanced treatments through a virtual visit.

How to Prepare for Your First Appointment

Talking about ED can feel awkward, but your doctor has had this conversation hundreds of times. A little preparation makes the visit more productive and less stressful. Before your appointment, write down the details of your experience: when the problem started, how often it happens, whether it’s worse in certain situations, and whether you still get morning or nighttime erections.

Expect your doctor to ask about your full medical history, including chronic illnesses, past surgeries, and current medications (some blood pressure drugs and antidepressants are common culprits). They’ll also ask about lifestyle factors like alcohol use, smoking, drug use, and your relationship. These questions aren’t prying for the sake of it. Each one helps narrow down whether the cause is physical, psychological, or a mix of both, which directly determines the right treatment path.