While Viagra is known for its relatively fast onset of action, typically within 30 minutes to an hour, there are other prescription medications like Cialis (tadalafil) that may have a longer duration of effect, lasting up to 36 hours.