Abstract Social insects are models for phenotypic plasticity: the generation of different phenotypes from the same genotype. Ant queens and workers differ not only in their morphology and behaviour, but also in their fecundity and lifespan, which is often several times higher in queens. However, the gene regulatory mechanisms underlying these differences are not yet well understood. Since ant queens can live and reproduce for more than two decades, they need to protect their germline from the activity of transposable elements (TEs). This protection may be redundant in short-lived, often sterile workers. We have analysed the expression of two protective classes of smallRNAs, microRNAs (miRNAs) and Piwi-interacting RNAs (piRNAs), in different tissues, castes, and age classes of the ant species Temnothorax rugatulus . We show that piRNAs are particularly active in the ovaries of queens. TEs are clear targets of the piRNAs in this ant species, and piRNA-specific sequence signatures in the ovaries of all queens regardless of age indicate that young and old queens have similarly active piRNA pathways. Interestingly, the reduced ovaries of the workers also showed the same level of piRNA activity. This was not only the case in young, fertile workers from queenless nests, but also in the presumably older foragers, which have almost completely regressed ovaries. These findings suggest that the germline in these ants is invariably protected by piRNA activity, irrespective of ovarian development. The brain and thorax of queens also contained piRNAs, but at lower levels, and the piRNA-specific ping-pong signatures were strongly reduced in these tissues. We also annotated and analysed miRNAs in different tissues. We confidently detected the expression of 304 miRNAs. Of these, 10 were enriched in the brain and three to the thorax, whereas 83 were specific to the ovaries. 105 miRNAs were found to be expressed in all three tissues. We also identified miRNAs whose expression potentially is related to ant caste, fecundity, and age, suggesting that caste-specific gene activity may be regulated in part by miRNAs. In contrast, our studies of piRNA activity indicate similar profiles across caste, fecundity and age groups, but strong tissue specificity with the highest piRNA mediated TE protection in the germline.