Evolutionary theory predicts late-life decline in the force of natural selection, which could lead to late-life deregulation of immune pathways with increased immunopathological effects. A potential outcome of such ageing-induced immune deregulation is the inability to produce specific immune responses against target pathogens. Instead, non-specific responses would produce an extended set of immune repertoires with little or no fitness benefits, or even increasing fitness costs. We tested this possibility by using two entomopathogens Providencia rettgeri and Pseudomonas entomophila to infect multiple Drosophila melanogaster lines with CRISPR/Cas9-induced knockout of either individual or different combinations of Imd and Toll-inducible antimicrobial peptides (AMPs). As expected, in young flies, AMPs showed a high degree of non-redundancy and pathogen-specificity such that in some cases even a single AMP could confer complete resistance. In contrast, ageing led to a complete loss of specificity, producing complex interactions between multiple AMPs across Toll and Imd pathways. Moreover, nonspecific responses using diverse AMPs with ageing either had no survival benefits, or imposed survival costs against P. rettgeri and P. entomophila. These features of immune senescence were also sexually dimorphic: females expressed a larger repertoire of AMPs compared to males but extracted equivalent survival benefits. Finally, age-specific expansion of the AMP pool was associated with several potential features of a poorly regulated immune system, such as downregulation of negative regulators of the Imd-pathway (e.g., caudal & pirk) and a trend of reduced renal function (i.e., Malpighian tubule activity), following infection, indicating the risk of increased immunopathological damage. Taken together, we demonstrate age-dependent changes in AMP specificity, and how this is associated with variation in immune senescence across sexes and pathogens.