In humans and mice, the induction of interleukin (IL)-17 expression enhances epithelial barrier integrity through the secretion of antimicrobial peptides (AMP), thereby improving antibacterial defense. However, it is unclear whether IL-17 has similar antibacterial effects in chickens by modulating the expression of AMPs, such as avian beta-defensins (also known as gallinacins) and cathelicidins. This study evaluated the in vivo effects of inoculating 20-day-old broiler chickens with two doses of a plasmid encoding chicken IL-17 (pCDNA3.1/rchIL-17-V5-HIS TOPO plasmid [pCDNA3.1-IL-17]; 5 or 10 μg/bird). On day 23 of age, all broilers, except those in the negative control group, were orally challenged with a virulent Clostridium perfringens strain for three days. To investigate IL-17-mediated effects against C. perfringens infection, the expression of avian beta-defensin 1 (avBD1), avBD2, avBD4, avBD6, cathelicidins, and inducible nitric oxide synthase (iNOS) genes were quantified, and gross necrotic enteritis (NE) lesion scores were assessed in the small intestine. The results showed that broilers receiving the higher dose of pCDNA3.1-IL-17 (10 μg) had significantly lower NE lesion scores compared to those receiving the lower dose (5 μg), the vector control, and the positive control groups. Furthermore, the expression of all avian beta-defensins and cathelicidin genes was detectable across all groups, regardless of treatment and time points. IL-17 treatment led to significantly higher expression of avBD1, avBD2, avBD4, avBD6, cathelicidin, and iNOS in the duodenum, jejunum, and ileum compared to control chickens. In C. perfringens-infected chickens, the expression of avBD1, avBD2, avBD4, cathelicidin, and iNOS in the ileum was significantly higher than in control chickens. Pre-treatment with the higher dose of pCDNA3.1-IL-17 (10 μg) in infected chickens was associated with reduced NE lesion severity and increased expression of avBD1, avBD2, cathelicidin, and iNOS in the ileum, but not avBD4 and avBD6. These findings provide new insights into the potential effect of IL-17 and reduction in NE lesion severity by modulating AMP expression which may be involved in mediating protective immunity against intestinal infection with C. perfringens.