Penile fibrosis caused by ischemic priapism (IP) adversely affects patients’ erectile function. We explored the role of lysyl oxidase (LOX) in rat and human penes after ischemic priapism (IP) to verify the effects of anti‐LOX in relieving penile fibrosis and preventing erectile dysfunction caused by IP in rats. Seventy‐two rats were randomly divided into six groups: control group, control + β‐aminopropionitrile (BAPN) group, 9 hrs group, 9 hrs + BAPN group, 24 hrs group, and 24 hrs + BAPN group. β‐aminopropionitrile (BAPN), a specific inhibitor of LOX, was administered in the drinking water. At 1 week and 4 weeks, half of the rats in each group were randomly selected for the experiment. Compared to the control group, the erectile function of IP rats was significantly decreased while the expression of LOX in the corpus cavernosum was significantly up‐regulated in both 9 and 24 hrs group. Proliferated fibroblasts, decreased corpus cavernosum smooth muscle cells/collagen ratios, destroyed endothelial continuity, deposited abnormal collagen and disorganized fibers were observed in IP rats. The relative content of collage I and III was not obviously different among the groups. β‐aminopropionitrile (BAPN) could effectively improve the structure and erectile function of the penis, and enhance recovery. The data in this study suggests that LOX may play an important role in the fibrosis of corpus cavernosum after IP and anti‐LOX may be a novel target for patients suffering with IP.