PLEnlist

War Elephants in History: Living Tanks from India to Zama

History · 8 battles · ~9 min read · Updated October 2026

Hannibal's war elephants charging the Roman lines at the Battle of Zama, 202 BC

Painting after Giulio Romano, 16th century. Public domain.

At a glance
RankBattleDateElephantsOutcome for the elephant side
1Gaugamela331 BC15 with Darius IIIDefeat
2Hydaspes326 BC85 to 200 with PorusDefeat
3Heraclea280 BC20 with PyrrhusVictory
4Trebia218 BCHannibal's survivors of the AlpsVictory, but the elephants died
5Raphia217 BC73 Ptolemaic, 102 SeleucidSeleucid elephants won, Ptolemy won the battle
6Zama202 BCAbout 80 with HannibalDefeat
7Panipat1526Ibrahim Lodi's great herdDefeat by guns
8Haldighati1576On both sidesMughal tactical victory
Quick answer

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.

The only weapon in ancient warfare that could change sides in the middle of a battle.

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

Baroque painting of the wounded Porus brought before Alexander, with war elephants
Alexander and Porus, painted by Charles Le Brun in 1673. The wounded Indian king is brought before Alexander after the Hydaspes, with his elephants on the field behind. Public domain

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

Nineteenth-century woodcut of elephants struggling along an Alpine path
Hannibal's army crossing the Alps, a colored woodcut by Heinrich Leutemann from the Münchener Bilderbogen of 1866, more than two thousand years after the event. Public domain

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

Mughal miniature of the battle of Panipat with cannon behind carts
The First Battle of Panipat in a Mughal manuscript of the Baburnama painted in 1598, now in the National Museum, New Delhi. Babur's cannon stand behind carts on the right, facing the army of Ibrahim Lodi. Public domain

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

Frequently asked questions

How many elephants did Hannibal take across the Alps?

Appian says 37 elephants crossed the Pyrenees with Hannibal; Polybius gives no number for those that reached Italy. Almost all of them died in the winter after the Battle of the Trebia in 218 BC.

How did Scipio defeat Hannibal's elephants at Zama?

Scipio left lanes through his ranks so the elephants could pass, while trumpets, shouting and javelins drove some back into the Carthaginian cavalry and funneled the rest harmlessly through the Roman lines.

Where were war elephants first used?

In ancient India, where kings captured and trained wild elephants. From there the practice spread west to Persia, the Hellenistic kingdoms and Carthage, and east into Southeast Asia.

How were war elephants defeated?

By opening lanes so the charge passed through, targeting the drivers with missiles, frightening the animals with noise, fighting on broken ground and, from the sixteenth century, by cannon and muskets.

Were war elephants actually effective?

Against troops and horses that had never met them they could be devastating, as at Heraclea in 280 BC. Against prepared, disciplined enemies they often panicked and harmed their own side, as at the Hydaspes and Zama.

When did armies stop using war elephants?

Their battlefield role declined as gunpowder spread, especially in the seventeenth century, although Indian and Southeast Asian armies kept elephants for transport and ceremony much longer.

Notes

A number in the text points to a note; each note names the works that paragraph draws on, listed in full under Sources.

  1. Thomas R. Trautmann, Elephants and Kings. ↩
  2. Thomas R. Trautmann, Elephants and Kings; Arrian, Anabasis of Alexander. ↩
  3. Diodorus Siculus, Library of History; Arrian, Anabasis of Alexander. ↩
  4. Strabo, Geography; Plutarch, Parallel Lives; Diodorus Siculus, Library of History. ↩
  5. Plutarch, Parallel Lives; H. H. Scullard, The Elephant in the Greek and Roman World. ↩
  6. Plutarch, Parallel Lives; World History Encyclopedia, “Elephants in Greek & Roman Warfare”. ↩
  7. Appian, The War against Hannibal; Polybius, Histories. ↩
  8. Polybius, Histories; Livy, History of Rome. ↩
  9. Science News, “After 2,000 years, Ptolemy’s war elephants are revealed”; Polybius, Histories. ↩
  10. Polybius, Histories; World History Encyclopedia, “Elephants in Greek & Roman Warfare”; Science News, “After 2,000 years, Ptolemy’s war elephants are revealed”. ↩
  11. Polybius, Histories; Livy, History of Rome. ↩
  12. Appian, The War against Hannibal; Livy, History of Rome; [Caesar], The African War; HistoryOfWar.org, “Battle of Thapsus, April 46 BC”. ↩
  13. Babur, The Baburnama. ↩
  14. John M. Kistler, War Elephants. ↩

Sources

Battle honors of your homeland

The turning points of history

Marathon, Gaugamela, Cannae, Constantinople, Waterloo, Stalingrad: the days the world changed course.

Based on your country, which we do not store · why? ·

Relive the battles

Echoes of Battle brings 40 of history's greatest battles to life, scene by scene, with a real-time tactical mode in the works. Enlist below and we will send word to your inbox the day it launches.