The present invention relates to indole and indazole compounds of Formula (I) that activate 5′ adenosine monophosphate-activated protein kinase (AMPK). The invention also encompasses pharmaceutical compositions containing these compounds and methods for treating or preventing diseases, conditions, or disorders ameliorated by activation of AMPK.