The cytotoxic necrotizing factors (CNFs) are bacterial toxins that deamidate or transaminate a conserved glutamine in switch-II of RhoGTPases, leading to their constitutive activation and host cell death. Despite early discovery in the 1980s, structural insight into the mechanisms underlying CNF activity is limited. Here, we report crystal structures of Escherichia coli CNF1 alone and in complex with its cellular receptor Lu/BCAM and with its substrate RhoA. The overall structure of CNF1 differs from the Yersinia pseudotuberculosis homologue CNFY, yet individual domains are well conserved, revealing a modular architecture with flexible interdomain organization, supported by small-angle X-ray scattering (SAXS). Lu/BCAM binds to a different CNF1 segment than previously reported, and the structure explains why CNFY does not recognize this receptor. Interaction with the toxin refolds both switch regions in RhoA, leading to disorder of switch-I but specific recognition of the switch-II sequence, hence explaining the GTPase-selectivity of CNFs.