War elephants were trained elephants used in battle to break enemy lines, terrify horses and carry archers. The practice began in ancient India, spread west to the Hellenistic kingdoms and Carthage and east into Southeast Asia, and lasted for more than two thousand years. They were beaten by opening lanes for them to pass, by missiles aimed at their drivers, by noise and terrain, and finally by gunpowder.
Few sights on an ancient battlefield were as frightening as a line of elephants advancing at a trot. Horses that had never smelled them bolted; infantry that had never seen them broke. Yet the elephant was also the most unpredictable weapon ever taken to war, quite capable of turning around and trampling its own side.
Here is the history of war elephants, battle by battle: where they came from, what they achieved, how famous generals such as Alexander, Pyrrhus, Hannibal and Babur used them or beat them, and why they finally disappeared.
Born in India
The war elephant was an Indian invention. Elephants eat so much that breeding them in captivity was uneconomic, so Indian kings captured wild adults and trained them, and protected the elephant forests as a royal resource. By the time of the Mauryan empire an Indian army was counted in four arms: infantry, cavalry, chariots and elephants.1
From India the institution spread west to the Mediterranean and east into Southeast Asia, but never took root in China. The Persians met it first; at Gaugamela in 331 BC Darius III fielded fifteen elephants against Alexander, though they seem to have done little.2
Hydaspes, 326 BC: Alexander against Porus
The Macedonians faced elephants in earnest on the Jhelum river in the Punjab. At the Battle of the Hydaspes, King Porus lined his front with elephants. Ancient figures for them range from 85 to 200: Diodorus gives 130 and Arrian 200. Alexander's horses would not face them, so he crossed the river upstream at night and fought around them.3
The phalanx and light troops then attacked the beasts directly, shooting down their drivers and striking at trunks and legs. Wounded and leaderless, the elephants crowded back into Porus's own ranks and trampled friend and foe alike. Alexander won, but the lesson was not lost on his successors. Seleucus later ceded his lands along the Indus to Chandragupta Maurya in exchange for 500 elephants, as both Strabo and Plutarch record. Diodorus says Seleucus brought 480 elephants to the campaign that ended at Ipsus in 301 BC, and Plutarch describes how the elephants of Seleucus and his allies there barred Demetrius's cavalry from riding back to its infantry.4

Pyrrhus brings elephants to Italy
When King Pyrrhus of Epirus crossed to Italy in 280 BC to fight Rome, he landed with twenty elephants. The Romans had never faced elephants before, and at Heraclea the charge of the beasts broke the Roman cavalry and helped decide the battle.5
The Romans adapted quickly. At Asculum in 279 BC Pyrrhus won again, but at such cost that his name became a byword for a ruinous victory. At Beneventum in 275 BC the Romans drove his elephants back into his own lines, and Pyrrhus left Italy for good.6
Hannibal's elephants and the Alps
No war elephants are more famous than Hannibal's, yet their military record is modest. He led them out of Spain in 218 BC, and the later Greek historian Appian says 37 elephants crossed the Pyrenees with him. Polybius gives no number for those that reached Italy, saying only that they came down from the passes half-starved. Getting them over the Alps at all was a remarkable feat of logistics.7
They fought at the Trebia in December 218 BC, where they helped scatter the Roman flanks. But the winter that followed was brutal, and Polybius says that all but one of the elephants died. Polybius and Livy both say that Hannibal rode this last survivor through the flooded marshes of Etruria in 217 BC. His great victories at Trasimene and Cannae were won without elephants.8

Raphia, 217 BC: elephant against elephant
The only battle in which we know African and Indian elephants fought each other was Raphia, near Gaza, between Ptolemy IV of Egypt and Antiochus III of the Seleucid empire. Polybius gives Ptolemy 73 African elephants against 102 Indian ones on the Seleucid side.9
According to Polybius, most of Ptolemy's elephants would not face the Indian animals and fled, disrupting their own lines; he explained that the Indian elephants were bigger and stronger. Historians long took Ptolemy's animals to be the smaller African forest elephant, but a 2014 DNA study found that the elephants still living in Eritrea, where the Ptolemies probably obtained theirs, are savanna elephants, which has reopened the question. Yet Ptolemy still won the battle with his phalanx, a reminder that elephants rarely decided a battle on their own.10
Zama, 202 BC: how Scipio neutralized the elephants
At Zama, the last battle of the Second Punic War, Hannibal opened with a charge of about eighty elephants (more than eighty in Polybius, eighty in Livy), which, Polybius notes, he had gathered in haste. Scipio was ready. Instead of the usual checkerboard he drew up his maniples one behind another and left lanes through his ranks, screened by light troops.11
When the elephants came on, Roman trumpets and shouting panicked some, who turned back into the Carthaginian cavalry; the rest were steered by the skirmishers' javelins down the empty lanes and out behind the Roman lines. Hannibal's opening blow was spent, and the battle was decided by infantry and by the Roman and Numidian horse.
India and Southeast Asia: the long afterlife
In the Mediterranean the elephant faded after the Punic Wars, though not at once. At Magnesia in 190 or 189 BC Antiochus III fielded 54 Indian elephants by Livy's count, while the Romans kept their few smaller African ones in the rear; at Thapsus in 46 BC Caesar's archers and slingers turned the Pompeian elephants back into their own ranks. In India, however, the elephant remained the heart of royal armies for another seventeen centuries, and in Southeast Asia the Khmer, Thai and Burmese kingdoms kept elephant corps; Khmer war elephants still march across the reliefs of Angkor. At Tarain in 1191 Prithviraj's elephants and cavalry beat the Ghurids, but he lost the Second Battle of Tarain a year later.12
Gunpowder ended the age. At the First Battle of Panipat in 1526 Babur, by his own estimate, faced an army of about 100,000 men with about 1,000 elephants; his cannon and matchlocks behind a line of carts, with horsemen sweeping around the flanks, broke Ibrahim Lodi's army. Fifty years later, at Haldighati, elephants of Mewar and the Mughals still fought each other in the pass, but the Mughals already had muskets. By the Third Battle of Panipat in 1761 the guns had won the argument for good.13

How were war elephants defeated?
Armies learned several answers. The first was to let the charge pass, opening lanes as Scipio did. The second was to kill or wound the driver, because an elephant without its mahout was a danger to everyone. The third was noise and fear: trumpets, shouting and, later, gunfire. Ancient writers also tell of flaming pigs set loose against elephants at Megara, a story best treated as legend.
Terrain mattered too: elephants were slow on broken ground and useless in deep mud or narrow passes, and they needed huge amounts of food and water. Above all, gunpowder steadily reduced their value in the seventeenth century, when a single cannon could stampede a herd that had taken years to train. Elephants were only the most spectacular of the animals that went to war, alongside horses, mules, dogs and pigeons.14






