Preconceptual infection primes the accumulation of E. coli-specific IgG and IgM antibodies, and adoptive transfer of serum containing these antibodies to naive recipient mice protects against fetal wastage. Here, CD40LG is linked to infection.