c Mycobacterium tuberculosis, the causative agent of tuberculosis (TB), induces formation of granulomas, structures in which immune cells and bacteria colocalize. Macrophages are among the most abundant cell types in granulomas and have been shown to serve as both critical bactericidal cells and targets for M. tuberculosis infection and proliferation throughout the course of infection. Very little is known about how these processes are regulated, what controls macrophage microenvironment-specific polarization and plasticity, or why some granulomas control bacteria and others permit bacterial dissemination. We take a computational-biology approach to investigate mechanisms that drive macrophage polarization, function, and bacterial control in granulomas. We define a "macrophage polarization ratio" as a metric to understand how cytokine signaling translates into polarization of single macrophages in a granuloma, which in turn modulates cellular functions, including antimicrobial activity and cytokine production. Ultimately, we extend this macrophage ratio to the tissue scale and define a "granuloma polarization ratio" describing mean polarization measures for entire granulomas. Here we coupled experimental data from nonhuman primate TB granulomas to our computational model, and we predict two novel and testable hypotheses regarding macrophage profiles in TB outcomes. First, the temporal dynamics of granuloma polarization ratios are predictive of granuloma outcome. Second, stable necrotic granulomas with low CFU counts and limited inflammation are characterized by short NF-B signal activation intervals. These results suggest that the dynamics of NF-B signaling is a viable therapeutic target to promote M 1 polarization early during infection and to improve outcome.