Sildenafil (Viagra): how it works, dosing, side effects and safety
By the Medsmingle Team · Updated 13 November 2026
This is a prescription medicine. Only take it if it has been prescribed for you after a medical assessment, and follow your doctor’s and pharmacist’s instructions.
Sildenafil was the first oral medicine approved for erectile dysfunction (ED), launched as Viagra in 1998. Today it’s available as low-cost generics and remains one of the most widely prescribed ED treatments. Response varies, and ED associated with diabetes or surgery may need specialist treatment.
How sildenafil works
An erection depends on blood flowing into the penis when you’re sexually aroused. Sildenafil belongs to a group called PDE5 inhibitors. It blocks the enzyme PDE5, which normally ends an erection, so blood vessels in the penis relax and fill more easily. It doesn’t cause an erection on its own: you still need sexual stimulation, and it doesn’t increase desire.
How fast it works and how long it lasts
- Usually starts working in 30 to 60 minutes
- Effects last about 4 to 6 hours (this is the window in which an erection is easier, not a 4-hour erection)
- A heavy or high-fat meal can delay it by up to an hour; it works fastest on an empty or light stomach
Typical dosing
For ED, the usual starting dose is 50 mg, taken about 1 hour before sex, no more than once a day. Depending on effect and side effects, a doctor may adjust it to 25 mg or 100 mg (the maximum). Lower starting doses are used for men over 65, those with liver or severe kidney problems, and those taking certain other medicines. Under the brand name Revatio, sildenafil is also prescribed at different doses for pulmonary arterial hypertension.
If it doesn’t seem to work
- If it is not helping, ask your prescriber to review timing, health conditions and the prescribed dose; do not increase it yourself.
- Take it at the right time and allow for sexual stimulation
- Avoid a heavy meal and too much alcohol beforehand
- Talk to your doctor about adjusting the dose or trying another option
Common side effects
- Headache and flushing (the most common)
- Indigestion or heartburn
- Stuffy or runny nose
- Dizziness
- Temporary changes in vision: a blue tinge, blurred vision or light sensitivity
- Back or muscle aches
These are usually mild and fade within a few hours.
Who must avoid it or needs specialist assessment
- Anyone taking nitrates (nitroglycerin, isosorbide mononitrate or dinitrate) or recreational “poppers” (amyl nitrite): the combination can cause a dangerous drop in blood pressure
- Anyone taking riociguat (Adempas) for pulmonary hypertension
- Do not use if your clinician says sexual activity is unsafe. A recent heart attack or stroke requires individual specialist assessment.
- Very low blood pressure, severe liver disease or inherited eye conditions require assessment before treatment; suitability differs between medicines.
Get emergency help (call 911) if you have
- Chest pain, fainting or severe dizziness during or after sex: tell the medical team you took an ED medicine, including the exact medicine and when you last took it
- An erection lasting more than 4 hours (priapism), which can permanently damage the penis
- Sudden loss or decrease of vision in one or both eyes
- Sudden decrease or loss of hearing, with or without ringing or dizziness
- Swelling of the face, lips or throat, or trouble breathing
Important interactions
- Alpha-blockers (tamsulosin, doxazosin): risk of low blood pressure; your doctor will space doses or start low
- Some antibiotics and antifungals (clarithromycin, erythromycin, ketoconazole, itraconazole) and HIV medicines (ritonavir): raise sildenafil levels
- Other ED medicines: don’t combine
- Alcohol: heavy drinking can worsen ED and increase dizziness
- Grapefruit juice in large amounts may raise levels slightly
ED can be an early warning sign
ED often shares causes with heart disease, diabetes and high blood pressure, and it can appear years before heart problems. A proper check-up, including blood pressure, blood sugar and cholesterol, is an important part of treatment. Stopping smoking, regular exercise, losing excess weight and cutting back on alcohol can all improve erections.
Generic vs brand
FDA-approved generic sildenafil contains the same active ingredient as Viagra and must meet the same quality standards. Be wary of unregulated products sold online without a prescription, which may contain the wrong dose or hidden ingredients.
Frequently asked questions
Can I take sildenafil every day?
It’s taken as needed, no more than once in 24 hours. Daily low-dose treatment is usually done with tadalafil instead; see sildenafil vs tadalafil.
Does sildenafil make you last longer?
It isn’t designed to treat premature ejaculation, though some men find it easier to maintain an erection.
Is sildenafil safe for the heart?
Suitability depends on your heart health and medicines. A prescriber must assess you; never combine it with nitrates.
Can women take sildenafil?
It isn’t approved for sexual problems in women.
For questions about a prescription or symptoms, speak with your own doctor or pharmacist. For website enquiries, contact our team.
About Medsmingle
Medsmingle (medsmingle.com) shares clear, plain-English information on medicines and everyday health. Explore more health guides and the latest articles, read about us, or contact our team with a question.
General information only. It isn’t a substitute for advice from your doctor or pharmacist.
Source and further reading
MedlinePlus patient medicine information. This overview does not list every warning or interaction.