It is formed in Glacier County in northwestern Montana, north of Browning, Montana, by the confluence of its South and Middle forks. The long South Fork and long Middle Fork both rise in the Rocky Mountains just east of Glacier National Park, in the Blackfeet Indian Reservation. Much of the water in the North Fork is diverted from the St. Mary River through a canal and inverted siphon.