SummaryIntracellular pathogens modulate host cell function to promote their survival. However, in vitro infection studies do not account for the impact of host-derived inflammatory signals. Examining the response of liver-resident macrophages (Kupffer cells) in mice infected with the parasite Leishmania donovani, we identified a transcriptomic network operating in uninfected Kupffer cells exposed to inflammation but absent from Kupffer cells from the same animal that contained intracellular Leishmania. To test the hypothesis that regulated expression of genes within this transcriptomic network might impact parasite survival, we pharmacologically perturbed the activity of retinoid X receptor alpha (RXRα), a key hub within this network, and showed that this intervention enhanced the innate resistance of Kupffer cells to Leishmania infection. Our results illustrate a broadly applicable strategy for understanding the host response to infection in vivo and identify Rxra as the hub of a gene network controlling antileishmanial resistance.