State Highway 171 (SH 171) is a 110 miles southeast northwest state highway in northeastern Texas, United States, that connects U.S. Highway 84 (US 84) in Mexia with U.S. Highway 180 (US 180) in Weatherford.