Spermicides contain the chemical nonoxynol-9 (N-9). Although N-9 kills HIV in test tubes, one study showed that N-9 inserted into the vagina may irritate the vagina and actually increase the risk of HIV infection during vaginal sex. N-9 may also irritate the lining of the rectum and should not be used for anal sex.
Some condoms are pre-lubricated with a lubricant containing N-9. These condoms
still provide greater protection against HIV than not using a condom. However, a lubricated condom without N-9 may be best for HIV prevention.