We found that, in the whole body, injury upregulates the expression of TGase2, whereas infection upregulates TGase1, TGase2 and TGase3. RNAi-based knockdown of TGase1 and TGase2 did not alter periostial hemocyte aggregation, but knockdown of TGase3 increased the number of periostial hemocytes during the early stages of infection and the sequestration of melanin by periostial hemocytes during the later stages of infection. Here, TGM3 is linked to infection.