Contrary to the classical cell-wall model, pectin metabolism may play a crucial role in cell-wall integrity, detection of plant pathogens, and defense response. Here we discuss the evidence and propose a new metabolic and regulatory model linking pectin to cell-wall-mediated immunity, including ripening-associated disease susceptibility in the tomato.