

In the North West Frontier of British India of 1905, a Hindu maharajah asks British Army Captain Scott (Kenneth More) to take his young son, Prince Kishan, to the safety of the Governor's Residence in Haserabad, due to a Muslim uprising in his province. Accompanying them is a widow, Mrs Wyatt (Lauren Bacall), the prince's American nanny/governess. The rebels soon storm the palace and kill the maharajah. On arrival at Haserabad, Captain Scott sees that many local Hindus and Europeans are leaving on the last train to Kalapur. The Muslim rebels soon close in and take control of the outer wall and gate beside the railway yard. The British governor tells Scott that he must take the young prince to Kalapur for his safety. In the railyard, the British captain discovers the Empress of India, an old engine with carriage cared for by its driver Gupta (I. S. Johar). Early the next morning, Captain Scott quietly loads the passengers on the old train. They include Mrs Wyatt, Prince Kishan, arms dealer Mr Peters (Eugene Deckers), British ex-pat Mr Bridie (Wilfrid Hyde-White), Lady Wyndham (the governor's wife), two Indian NCOs, and half-Dutch, half-Indonesian Muslim journalist Mr Peter van Leyden (Herbert Lom). The Empress quietly freewheels out of the yard, but unexpectedly sounds her whistle, alerting the rebels, so Gupta engages the steam, crashing through the outer gate. Later that morning, the train encounters the earlier refugee train; everyone on board has been massacred by the rebels. Mrs Wyatt leaves the Empress and finds one survivor, a small baby concealed by his mother's body. The next morning, the train has to stop because a portion of the track has been blown up. Mrs Wyatt spots the signaling flashes of a heliograph atop a mountain summit, and everyone quickly realises that the Muslim rebels are waiting in the surrounding mountains. With track repairs barely finished, the train gets away under a hail of rebel gunfire; Gupta is wounded but survives. Later on that day, while stopping to refill the engine's water tank, Scott walks into the pump house only to find Van Leyden allowing Prince Kishan to stand dangerously close to the pump's rapidly spinning flywheel. During the night, Mr Van Leyden again approaches the prince only to notice Lady Wyndham staring at him. The train reaches a bomb-damaged viaduct bridge, although the rails remain largely intact. All the passengers carefully walk cross the bridge's damaged section. Again, Van Leyden's behaviour nearly results in the prince's death by almost letting him fall. Captain Scott accuses Van Leyden of trying to kill the prince, and he places the reporter under arrest. After that, Captain Scott, under Gupta's guidance, carefully drives the train across the broken bridge section. Later, while going through a tunnel, Van Leyden uses the opportunity to overpower his guard. He uses a Maxim machine gun to hold the passengers at bay. He is unable to kill Prince Kishnan because the boy is with Captain Scott in the engine cab. Scott returns to the carriage with the young prince after spotting more rebel heliograph signals, but they are saved when Van Leyden is knocked off balance. Scott pursues him onto the carriage roof, but it is Mrs Wyatt who shoots and kills Van Leyden just as he is about to kill Scott. The Muslim rebels catch up with the train on horseback but have to stop their attack when the Empress safely enters a two-mile-long hillside tunnel. On the other side, the train and its passengers reach the safety of Kalapur. At the train station, young Prince Kishan is met by his Hindu entourage, Gupta is taken to hospital, Lady Wyndham is informed that her husband, the governor, is safe, and Scott and Mrs Wyatt leave together.