The Viagra active ingredient sildenafil continues to require a prescription.
A committee of experts at the Federal Institute for Drugs and Medical Devices (BfArM) in Bonn on Tuesday unanimously rejected an application to lift the prescription requirement.
This means that a prescription from the doctor will also be mandatory in the future.
Sildenafil is a drug from the group of so-called phosphodiesterase inhibitors, also called PDE-5 inhibitors.
They are the most commonly used drugs for erectile dysfunction.
The committee's decision not only affects the well-known potency pill Viagra, but also so-called copycat preparations with the active ingredient sildenafil.
Since the patent protection for Viagra in Germany expired in 2013, a number of cheaper imitation products, some with other active ingredients, have been on the market.
Like Viagra, the so-called generic drugs in Germany require a prescription.
In some countries, such as the UK, Switzerland and Norway, sildenafil no longer requires a prescription.
However, advice from the pharmacist is sometimes a prerequisite for dispensing.