This cohort study compares the outcomes of oral doxycycline therapy with those of intravenous penicillin therapy among patients with ocular syphilis.