Here, we show that caspase-11 and caspase-1 function in opposing manners to phosphorylate and dephosphorylate cofilin, respectively upon infection with Legionella. Caspase-11 targets cofilin via the RhoA GTPase, whereas caspase-1 engages the Slingshot phosphatase. Here, CFL1 is linked to infection.