This compound works by inhibiting the enzyme phosphodiesterase type 5 (PDE5), which is responsible for breaking down cyclic guanosine monophosphate (cGMP). When sexual stimulation occurs, tadalafil helps increase levels of cGMP in the penis. This leads to relaxation of the smooth muscles in the blood vessels of the penis, allowing for increased blood flow and facilitating an erection.