ABSTRACT Evolutionary theory predicts a late-life decline in the force of natural selection, possibly leading to late-life deregulations of the immune system. A potential outcome of such immune-deregulation is the inability to produce specific immunity against target pathogens. We tested this possibility by infecting multiple Drosophila melanogaster lines (with bacterial pathogens) across age-groups, where either individual or different combinations of Imd- and Toll-inducible antimicrobial peptides (AMPs) were deleted using CRISPR gene editing. We show a high degree of non-redundancy and pathogen-specificity of AMPs in young flies: in some cases, even a single AMP could confer complete resistance. In contrast, ageing led to a complete loss of such specificity, warranting the action of multiple AMPs across Imd- and Toll-pathways during infections. Moreover, use of diverse AMPs either had no survival benefits, or even accompanied survival costs post-infection. These features were also sexually dimorphic: females expressed a larger repertoire of AMPs than males, but extracted equivalent survival benefits. Finally, age-specific expansion of the AMP-pool was associated with downregulation of negative-regulators of the Imd-pathway and a potential damage to renal function, as features of poorly-regulated immunity, Overall, we could establish ageing as an important driver of nonspecific AMP responses, across sexes and bacterial infections.