Phosphodiesterase type 5 (PDE-5) is an important enzyme involved in the hydrolysis of cyclic guanosine monophosphate (cGMP) to guanosine monophosphate (GMP). The inhibition of this protein leads to the accumulation of cGMP in cells with various biological and therapeutic effects. Several PDE-5 inhibitors exist, with Tadalafil being one of the most commonly studied and used in clinical therapy. In this study, we applied Molecular Dynamics simulations coupled to the ABF (Adaptive Biasing Force) method to study the effect of the mutation on the Gln817 residue (Q817G). The results of the free energy profiles made clear that the affinity of the inhibitor for PDE-5 is dependent on the amino acid residue Gln817. The hydrogen bond made between the side chain of glutamine and the indole ring of Tadalafil results in the stabilization of the ligand in the catalytic site. Despite the prominent role of this interaction, it is important to highlight the contribution of other residues of the catalytic domain for the stabilization of the compound, due to the set of polar, hydrophobic and electrostatic interactions performed by specific amino acid residues.