The book starts with a scene just a week before the surrender of Confederate forces of Robert E. Lee in 1865. The Confederate Navy ship CSS Texas is being loaded at a dock with crates supposedly filled with documents. The ship's captain Tombs has been ordered to take the ship past a Union blockade and to any neutral harbour where she should dock until summoned by a courier. At the last minute the secretary of the Confederate navy and an admiral arrive and mention that he will be taking a prisoner on board. Tombs is shocked when the prisoner arrives under heavy guard with Confederate soldiers in Union uniforms. The ship gets under way and is battered by the Union navy trying to attempt to pass the blockade into the open sea. To make matters easier, Tombs brings the prisoner onto the deck, and the Union soldiers stop firing and salute.
The plot then moves to 1931, when a lady, Kitty Mannock, is flying over the Sahara in quest of a new aviation record. A severe sand storm fouls her carburettors and her plane crash lands in the desert. While her landing is on level ground, the plane reaches the edge of a ravine and tips over. Even though a search is launched she is not found.
The plot then moves to 1996. A convoy of tourists are crossing the Sahara on a fleet of Land Rovers when they reach a scheduled stop at a village in the country of Mali. They find it is unusually deserted, but as they are refreshing themselves at the village well they are attacked by red-eyed savages who kill and eat them. Only the tour guide escapes with his life.
Meanwhile working in Egypt on an archaeological mapping of the Nile, Dirk Pitt is able to rescue Dr. Eva Rojas, a scientist working for the World Health Organization, from a mysterious attacker. Shortly thereafter, Eva flies to Mali with an international team of scientists to investigate a mysterious disease that has been reported from various desert villages. At the same time, Pitt and his best friend Al Giordino are hurriedly flown to a research vessel outside the coast of Mali. There they are informed by their boss, Admiral James Sandecker, of an algal bloom, in this case a red tide, that is growing unnaturally fast, and threatens to consume the world's oxygen supply and extinguish almost all life. The growth speed is suspected to be fueled by some type of pollutant.
Dirk, Al and Rudi Gunn are ordered to cruise up the Niger River to search for the pollutant, and determine where it enters the river. They do this aboard the Calliope, a high-performance super-yacht, equipped with comprehensive scientific laboratories, several weapon systems, and an array of communication equipment. The cruise is all well until reaching Benin, where they are forced to engage the Benin navy, which is completely destroyed. The continued trip is calm. They identify the pollutant, and at last find the spot where it appears in the river—but there is no chemical facility in the vicinity, and in fact no sign of anything entering the river.
By now, the Malian armed forces are on their way, along with the Malian dictator General Zateb Kazim, who wishes to seize the yacht for his own use. After dropping Gunn off to make a run for the Gao airport, Pitt and Giordino let the yacht self-destruct after jumping overboard and swimming to the houseboat of the ruthless French businessman Yves Massarde. On his yacht, they manage to contact admiral Sandecker about Gunn's escape before being captured by Massarde. A UN rescue team picks Gunn up at the airport.
After some interrogation at the houseboat, Pitt and Giordino manage to steal Mr Massarde's helicopter, which they fly north to Bourem, dumping the chopper in the river. Here they find (and steal) General Kazim's ancient car, an Avions Voisin. They drive the Voisin north, into the desert, toward the chemical waste processing facility Fort Foureau, the only facility that could possibly leak the pollutant into the river. En route to the detoxification facility, Pitt and Giordino run into an American nomad who is searching for a supposed sunken Civil War ironclad. They hide the car and sneak into the facility, only to be captured by Mr. Massarde's security guards, but not before they understand that the processing facility is just a disguise for an underground waste dump sitting right above an underground river, which flows under the sand to the Niger.
Massarde decides to send them to Tebezza, a secret gold mine shared with General Kazim, where prisoners dig for gold under appalling conditions. Here they also find the WHO team, which had been coming too close to the truth about the diseases they were investigating, as well as the French engineers that were contracted to build the processing facility. Dirk and Al manage to escape from the mine, driving 300 km to the east, trying to reach the Trans-Sahara Route. When the gas runs out, they have to walk. They find a cave painting of a Civil War-era monitor, which local artists could not have drawn in such detail without having seen it. They also find a lost 1930s-era airplane, which they rebuild into a sand yacht. They determine that the crashed airplane had been flown by legendary record-breaking Australian pilot Kitty Mannock, whose disappearance was worldwide news at the time, overshadowed only by that of Amelia Earhart. Mannock's body is lying with the plane, along with her diary, which details her attempts at walking out, her discovery of "an odd ship in the sand", her taking shelter inside the ship, and her eventual return to her plane in a vain hope for rescue. Mannock had survived for ten days, and by her diary they were able to know how long she walked from the plane, and in which direction, giving them an area to search for the lost ironclad. Using the sand yacht they built from Mannock's plane, they finally reach the Trans-Sahara Route and are picked up by a passing truck on the way to Adrar, Algeria. They quickly reach Algiers, from where they inform Admiral Sandecker about the appalling situation in Tebezza.
The UN team that rescued Rudi Gunn earlier is dispatched to Alger to pick up Pitt and Giordino, and is then flown to Tebezza. They successfully attack Tebezza and close it for good, but not before an alarm is sent to General Kazim. An aircraft from the Malian air force is sent there to investigate, and destroys the UN aircraft just as the team returns from the mine. They are now stranded, and decide to make a run for the real Fort Foureau, a French Foreign Legion fortress that gave the waste processing plant its name, and plan to later hijack a waste train to carry the team and the rescued prisoners to safety in Mauritania.
Unfortunately, while at the fortress their presence is discovered and the trains are stopped. Giordino and a commando use a stripped attack buggy to reach a US Delta unit in Mauritaina, while the Malian army attacks the fortress with everything they have. After severe losses for both sides, the Delta unit comes to the rescue aboard a train, quickly defeating the Malian army and killing General Kazim.
Now Pitt and Giordino borrow an attack helicop
ter and go to take over the Fort Foureau facility. They also force Mr. Massarde to lie out in the desert sun naked for three hours, after which he drinks several litres of water which was secretly polluted from the waste dump. They then let him board his chopper and leave, knowing that he will not live a week.
In the end, the waste dump is cleaned up, the water pollutant is removed and the red tide growth rate decreases. The rescued Tebezza prisoners are treated for malnutrition and various injuries. The ironclad is dug up and the lost airplane is restored and placed in a museum. Dirk Pitt also ships general Kazim's Avions Voisin to his own car collection.