In summary, the activation of NGF/TrkA signaling pathway improves the erectile function of rats with diabetes mellitus, which suggests a promising perspective in the future clinical practice. This evidence concerns the gene NGF and diabetes mellitus.