The venom of the spider Phoneutria nigriventer contains several toxins that have bioactivity in mammals and insects. Accidents involving humans are characterized by various symptoms including penile erection. Here we investigated the action of Tx2-6, a toxin purified from the P. nigriventer spider venom that causes priapism in rats and mice. Erectile function was evaluated through changes in intracavernosal pressure/mean arterial pressure ratio (ICP/MAP) during electrical stimulation of the major pelvic ganglion (MPG) of normotensive and deoxycorticosterone-acetate (DOCA)-salt hypertensive rats. Nitric oxide (NO) release was detected in cavernosum slices with fluorescent dye (DAF-FM) and confocal microscopy. The effect of Tx2-6 was also characterized after intracavernosal injection of a non-selective nitric oxide synthase (NOS) inhibitor, l-NAME. Subcutaneous or intravenous injection of Tx2-6 potentiated the elevation of ICP/MAP induced by ganglionic stimulation. l-NAME inhibited penile erection and treatment with Tx2-6 was unable to reverse this inhibition. Tx2-6 treatment induced a significant increase of NO release in cavernosum tissue. Attenuated erectile function of DOCA-salt hypertensive rats was fully restored after toxin injection. Tx2-6 enhanced erectile function in normotensive and DOCA-salt hypertensive rats, via the NO pathway. Our studies suggest that Tx2-6 could be important for development of new pharmacological agents for treatment of erectile dysfunction.