As the broad spectrum pharmacological action, aspirin has been one of the most widely used medicines since its initial synthesis; however, the association between aspirin and erectile function is still controversial. We aim to explore whether long-term aspirin administration deteriorates or preserves erectile function from adult rats and ageing rat model. Twenty adult rats (10 weeks of age) and twenty ageing rats (80 weeks of age) were randomly divided into four groups as follows: Adult-Control (normal saline [NS]), Adult-Aspirin (aspirin, 10 mg/kg/d), Ageing-Control (NS), and Ageing-Aspirin (aspirin, 10 mg/kg/d) groups (n = 10 per group). For all rats, erectile function was assessed by maximum intracavernous pressure (ICP), total area under ICP curve (AUC), ICP/mean arterial pressure (MAP) ratio, and MAP. The total treatment duration was one month. Protein expression levels of cyclooxygenase-1 (COX-1), COX-2, endothelial nitric oxide synthase (eNOS), and nNOS of the corpus cavernosum were detected by Western blot. ELISA kits were used to determine 6-keto PGF
1a
, PGE
2
, TXB
2
, cyclic adenosine monophosphate (cAMP), and cyclic guanosine monophosphate (cGMP) levels. Total nitric oxide (NO) concentration was measured using a fluorometric assay kit. As a result, Ageing-Control rats revealed significantly decreased ICP, AUC, and ICP/MAP ratios compared to Adult-Control rats, and these effects were accompanied by reduced eNOS protein expression and lower total NO and cGMP levels; however, no difference was found in nNOS protein expression. For adult rat groups, aspirin significantly inhibited the production of 6-keto PGF
1a
, PGE
2
, and TXB
2
; however, it neither changed the ICP, AUC, or ICP/ MAP ratios nor altered the protein expression of eNOS, nNOS, COX-1, and COX-2. Meanwhile, aspirin did not influence the concentrations of total NO, cAMP, or cGMP. The same tendency was also found in the ageing rat model, which confirmed that aspirin did not alter erectile function. Our data suggested that long-term aspirin administration did not strengthen or weaken erectile function in adult rats or ageing rat model. Thus, it had no impact on erectile function.