A chlamydial type III-secreted effector protein (Tarp) is predominantly recognized by antibodies from humans infected with Chlamydia trachomatis and induces protective immunity against upper genital tract pathologies in mice.