It rises in the Badlands of northwestern South Dakota, south of the Cave Hills in western Harding County, and flows east past Buffalo, then past several units of the Grand River National Grassland in northern Perkins County.