Trego has its origins as a station for the Great Northern Railroad. In tribute to the wife of the railroad's chief engineer, the town took her maiden name of Trego.
Trego is located in northwestern Montana, south of the Canadian border near Eureka on US Highway 93.