5′-AMP-activated protein kinase (AMPK) plays diverse roles in various physiological and pathological conditions. AMPK is involved in energy metabolism, which is perturbed by infectious stimuli. Indeed, various pathogens modulate AMPK activity, which affects host defenses against infection. In some viral infections, including hepatitis B and C viral infections, AMPK activation is beneficial, but in others such as dengue virus, Ebola virus, and human cytomegaloviral infections, AMPK plays a detrimental role. AMPK-targeting agents or small molecules enhance the antiviral response and contribute to the control of microbial and parasitic infections. In addition, this review focuses on the double-edged role of AMPK in innate and adaptive immune responses to infection. Understanding how AMPK regulates host defenses will enable development of more effective host-directed therapeutic strategies against infectious diseases.