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. Here, NTRK1 is linked to diabetes mellitus.