The pathophysiology of erectile dysfunction post radical prostatectomy is not clearly clarified, and the low efficacy of traditional PDE5i treatment remains a major complaint in contemporary practice. This study aimed to demonstrate phenotypic modulation in bilateral cavernous nerve injury (BCNI) rats within 7 days, and subsequently validate gene therapy with Myocardin (Mycod) by maintaining a contractile phenotype in corpus cavernosum smooth muscle cells. Initially, 36 male rats were randomly divided into BCNI and negative control (NC) groups for histological and phenotypic molecular measurements at 3, 5, and 7 days. Afterwards, an additional 30 rats received a single intra-cavernous injection of 50 μL PBS, Ad-Myocd (1 × 10 pfu/ml) or Ad-vector for 10 animals each, namely the NC+PBS, BCNI+Ad-Myocd, and BCNI+Ad-vector groups. Finally, the validity and mechanism of Myocd transfection was explored at 21 days in vivo and 48 h in vitro. Western blotting showed canonical declines in Myocd, α-SMA, and Calponin expression, as well as elevated Osteopontin (OPN) expression, before corporeal morphological and SM-to-collagen ratio changes at day 5 after injury. Overexpression of Myocd maintained the contractile phenotype of corpus cavernosum smooth muscle cells, ameliorated bilateral cavernous nerve injury rat erectile dysfunction, as well as promoted cell contractility and suppressed proliferative capacity. Simultaneously, confocal imaging revealed up-regulation and co-localization of serum response factor in gene-transferred cells. In conclusion, our study is the first to investigate corpus cavernosum smooth muscle cells phenotypes in the early stages of cavernous injury model rats, and Myocd reversed phenotypic modulation by activating serum response factor. The experimental results demonstrated the validity of gene therapy for erectile dysfunction.