When foraging, internal needs for particular nutrients might affect food choice, and external constraints, such as predation risk, might impact trade-offs between foraging and risk avoidance. Examining both internal and external constraints simultaneously can provide important insights into how animals make decisions. We examined how internal nutritional needs and external cues of mortality risk jointly impact the foraging behavior of ants. Ant colonies require carbohydrates to support workers energetically and proteins to raise brood. Furthermore, colonies adjust their foraging activity in response to the environment, such as food availability and the presence of predators or heterospecifics. Here we examine the foraging decisions of groups of Argentine ants Linepithema humile, which differ in their nutritional needs in high-risk environments. We starved groups of ants for either proteins or carbohydrates and determined the foraging choices that ants made when cues of heterospecifics were present. We found that ants preferentially forage for carbohydrates in high-risk conditions. Furthermore, starvation for carbohydrates increased the ants preference for carbohydrates, even when cues of heterospecifics were present at both carbohydrates and protein resources. Starvation for protein also resulted in preferential foraging for carbohydrates, but it increased visitation to a protein food source in high-risk environments compared to when ants were starved for carbohydrates or for both resources. Examining the effect of both nutrition and mortality risk on foraging simultaneously provides insights about state-dependent risk-taking behavior that may have important implications for predicting the invasion of species into novel habitats.