For nonpregnant patients with a significant penicillin allergy (anaphylactic, bronchospastic, or urticarial), the first alternative is doxycycline 100 mg orally twice a day for 14 days (28 days for late latent syphilis or latent syphilis of unknown duration).