Pattern recognition receptors (PRRs) such as toll‐like receptors (TLRs) and nuclear oligomerization domain (NOD) receptors along with antimicrobial proteins and peptides (AMPs) are crucial for innate immunity. The pathology of insulin‐dependent diabetes mellitus is associated with the disrupted expression of TLRs, NODs and AMPs in the kidney, lungs and other organs. However, such a relation in the male reproductive tract is not yet investigated. In this study, we analysed the expression pattern of Tlr1‐13, Nod1/2 receptors and AMPs (β‐defensins and defensin‐like proteins of the Sperm‐Associated Antigen 11 (Spag11) family) in the male reproductive tissues (caput, cauda and testis) obtained from diabetic or insulin‐treated diabetic or untreated control rats. Alterations in the expression pattern of Tlr1‐13, Nod 1/ 2, Defb1, 2, 21, 24, 27, 30 and Spag11a/ c/ t were observed under diabetic conditions. Administration of insulin to diabetic rats could modulate the expression pattern of only some these genes. Results of our study indicate perturbed gene expression profile of Tlrs, Nod1/2, Defbs and Spag11 isoforms in the epididymis and testis of diabetic rats, and this could be one of the important reasons for the increased risk of infections in the male genital tract.