In 1876, Captain Nathan Algren, a disillusioned American veteran, is hired to train the new Japanese army in modern warfare. During a battle against rebel samurai, he is captured by their leader, Katsumoto. Spending a winter in the samurai village, Algren comes to admire their code of honour. He must then choose between the army he trained and the way of life he has come to respect.