The present invention is directed to [1,2,4]triazolo[1,5-a]pyridine and [1,2,4]triazolo[1,5-a]pyrazine derivatives of Formula I, or a pharmaceutically acceptable salt thereof, which are LSD1 inhibitors useful in the treatment of diseases such as cancer.