Drastic metabolic alterations, such as the Warburg effect, are found in most if not all types of malignant tumors. Emerging evidence shows that cancer cells benefit from these alterations, but little is known about how they affect noncancerous stromal cells within the tumor microenvironment. Here we show that cancer cells are better adapted to metabolic changes in the microenvironment, leading to the emergence of spatial structure. A clear example of tumor spatial structure is the localization of tumorassociated macrophages (TAMs), one of the most common stromal cell types found in tumors. TAMs are enriched in well-perfused areas, such as perivascular and cortical regions, where they are known to potentiate tumor growth and invasion. However, the mechanisms of TAM localization are not completely understood. Computational modeling predicts that gradients-of nutrients, gases, and metabolic by-products such as lactate-emerge due to altered cell metabolism within poorly perfused tumors, creating ischemic regions of the tumor microenvironment where TAMs struggle to survive. We tested our modeling prediction in a coculture system that mimics the tumor microenvironment. Using this experimental approach, we showed that a combination of metabolite gradients and differential sensitivity to lactic acid is sufficient for the emergence of macrophage localization patterns in vitro. This suggests that cancer metabolic changes create a microenvironment where tumor cells thrive over other cells. Understanding differences in tumor-stroma sensitivity to these alterations may open therapeutic avenues against cancer.tumor adaptation | mathematical model | image analysis C ancer cells in tumors display pronounced metabolic alterations (1-10). The genetic and biochemical mechanisms behind these changes are under intensive investigation, but the question of how metabolic changes affect noncancerous cells in the tumor microenvironment remains largely unanswered. The Warburg effect-or oxidative glycolysis, a process whereby cells exhibit a high glycolytic rate even in the presence of oxygen-is arguably the best-known metabolic alteration in cancer (1). Due to a lower yield of glucose to ATP associated with glycolysis, the Warburg effect was initially viewed as a detrimental aberration (1, 5). However, it is now clear that ATP is not a limiting resource for cell growth (4, 9) and that glycolytic alterations increase glucose and glutamine uptake, enhance reductive power, and favor anabolism by retaining carbon-rich macromolecules (4, 7, 9). Thus, rather than being detrimental, metabolic alterations in tumor cells can be required to sustain the high proliferation rate that characterizes malignant cancers (4, 7, 9). In fact, similar metabolic changes occur in healthy processes with rapid population growth such as pluripotent stem-cell proliferation (11), T-cell activation (12), embryonic development (13), and wound healing (14), suggesting that cancer cells have co-opted conserved metabolic processes used by rapidly proliferating cells (4, 7...