Syphilis is an infection caused by the bacteria Treponema pallidum that is most often spread by sexual contact, such as through direct contact with a syphilis sore (chancre), a firm, raised, painless sore. The most common syphilis tests detect antibodies in the blood that are produced in response to a T. pallidum infection. Some methods that are used less commonly directly detect the bacteria or its genetic material (DNA).