New York State Route 171 (NY 171) is a state highway running east to west through Herkimer County, New York, in the United States. It connects the hamlet of Gulph in the town of Frankfort to the village of Frankfort by way of the Frankfort Gorge. Its western end is at the junction of County Route 145 (CR 145) and CR 185 southeast of Gulph. The eastern end is to the east at an intersection with Main Street in Frankfort village. NY 171 is a narrow, two-lane highway for its whole length.