Increasing evidence that the strengths of interactions among populations in biological communities form patterns that are crucial for system stability requires clarification of the precise form of these patterns, how they come about, and why they influence stability. We show that in real food webs, interaction strengths are organized in trophic loops in such a way that long loops contain relatively many weak links. We show and explain mathematically that this patterning enhances stability, because it reduces maximum "loop weight" and thus reduces the amount of intraspecific interaction needed for matrix stability. The patterns are brought about by biomass pyramids, a feature common to most ecosystems. Incorporation of biomass pyramids in 104 food-web descriptions reveals that the low weight of the long loops stabilizes complex food webs. Loop-weight analysis could be a useful tool for exploring the structure and organization of complex communities.