When the Great Northern built its branch line across the northeastern part of Montana, several new towns sprung up at the sidings and depots that the rail line created. The second of these was Flaxville.
It was originally to be named Boyer after the Henry Boyer family at whose home the early railroad construction workers were fed. However, there was some confusion with the name that was to be given the next siding west, and this new town was named after the only crop that was grown in the area—Flaxville. The next one down became Madoc.
Flaxville was at one time a bustling community with more than thirty businesses operating during its peak. However, its reliance on the railroad would turn that around as other forms of transportation took people and business away.