One difference between the drugs is how long they stay in your system. Cialis provides penile hardness (the ability to obtain an erection) over a longer period than Viagra because it lasts up to 18 hours, while Viagra only lasts for about 4 to 6.