Infection with group A Streptococcus was lower in RNF5-/- mice because autophagosome formation increased and mediated the clearance of bacteria by RNF5-/- macrophages. Here, RNF5 is linked to infection.