Environmental adaptation of organisms relies on fast perception and response to external signals, which lead to developmental changes. Plant cell growth is strongly dependent on cell wall remodeling. However, little is known about cell wall-related sensing of biotic stimuli and the downstream mechanisms that coordinate growth and defense responses. We generated genetically encoded pH sensors to determine absolute pH changes across the plasma membrane in response to biotic stress. A rapid apoplastic acidification by phosphorylation-based proton pump activation was followed by an acidification of the cortical side of the plasma membrane in response to the fungus Fusarium oxysporum. The proton chemical gradient modulation immediately reduced cellulose synthesis and cell growth and, furthermore, had a direct influence on the pathogenicity of the fungus. All these effects were dependent on the COMPANION OF CELLULOSE SYNTHASE proteins that are thus at the nexus of plant growth and defense. Hence, our discoveries show a remarkable connection between plant biomass production, immunity, and pH control, and advance our ability to investigate the plant growth-defense balance. We are grateful to G. Sancho-Andrés, B. Pfister, and P. van Dam for technical support. We thank S. Persson for the cc1cc2 , cc1cc2 GFP-CC1 and cc1cc2 GFP-CC1ΔN120 lines and A. Molina, G. Bissoli and E. López-Solanilla for constructive discussions. Live cell imaging was performed with equipment maintained by