PLJoin the list

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
At a glance
BattleDateElephantsOutcome 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 BCOver 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 round 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 them1, 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.

From India the institution spread west to the Mediterranean and east into Southeast Asia, but never took root in China1. The Persians met it first; at Gaugamela in 331 BC Darius III fielded fifteen elephants against Alexander2, though they seem to have done little.

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 range from 85 to 200, and Arrian puts Porus's elephants at about 2002. Alexander's horses would not face them, so he crossed the river upstream at night and fought around them.

The phalanx 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 gave up his Indian provinces to Chandragupta Maurya and, by Plutarch's account, received 500 elephants in return3, which helped him win the battle of Ipsus in 301 BC.

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 elephants3. The Romans had never faced elephants before4, and at Heraclea the charge of the beasts broke the Roman cavalry and helped decide the battle.

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.

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 got them over the Alps; the figure usually given, 37, comes from later ancient writers, and estimates vary. That they survived the passes at all was a remarkable feat of logistics.

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 died5. Tradition holds that Hannibal rode the last survivor through the flooded marshes of Etruria. His great victories at Trasimene and Cannae were won without elephants.

Nineteenth-century woodcut of elephants struggling along an Alpine path
Hannibal's army crossing the Alps, a coloured 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 ones5 on the Seleucid side.

According to Polybius, most of Ptolemy's elephants would not face the larger Indian animals and fled, disrupting their own lines. He believed the African elephants were smaller; modern scholars question that explanation. Yet Ptolemy still won the battle with his phalanx, a reminder that elephants rarely decided a battle on their own.

Zama, 202 BC: how Scipio neutralised the elephants

At Zama, the last battle of the Second Punic War, Hannibal opened with a charge of over eighty elephants5, many of them reportedly hastily trained. Scipio was ready. Instead of the usual chequerboard he drew up his maniples one behind another and left lanes through his ranks, screened by light troops5.

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, but in India it remained the heart of royal armies for another seventeen centuries, and in Southeast Asia the Khmer, Thai and Burmese kingdoms kept elephant corps whose battles are carved on the walls of Angkor.

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 nearly 1,000 elephants6; his cannon and matchlocks behind a line of carts panicked the beasts and broke Ibrahim Lodi. Fifty years later, at Haldighati, elephants of Mewar and the Mughals still duelled in the pass, but the Mughals already had muskets, and a musket ball wounded the driver of Mewar's leading elephant. By the Third Battle of Panipat in 1761 the guns had won the argument for good.

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. 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 century7, when a single cannon could stampede a herd that had taken years to train.

Frequently asked questions

How many elephants did Hannibal take across the Alps?

The figure usually quoted is 37, which comes from later ancient writers; estimates vary. 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 funnelled 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.

Sources and notes

Numbered notes in the text point to the works below.

  1. Thomas R. Trautmann, Elephants and Kings: An Environmental History (University of Chicago Press, 2015). ↩ a b
  2. Arrian, Anabasis of Alexander, Book 3, 8 (Darius's fifteen elephants at Gaugamela); Book 5, 8 to 19 (Porus's elephants at the Hydaspes). ↩ a b
  3. Plutarch, Parallel Lives: Pyrrhus and Alexander, Pyrrhus 15 to 25 (the twenty elephants, Heraclea, Asculum, Beneventum); Alexander 62 (Sandrocottus gives Seleucus 500 elephants). ↩ a b
  4. H. H. Scullard, The Elephant in the Greek and Roman World (Thames and Hudson, 1974). ↩
  5. Polybius, Histories, Book 3, 74 (loss of the elephants after the Trebia); Book 5, 79 to 86 (Raphia: 73 and 102 elephants, the elephant fight 5.84); Book 15, 9 to 12 (Zama: lanes for the elephants, over eighty elephants). ↩ a b c d
  6. Babur (trans. Wheeler M. Thackston), The Baburnama: Memoirs of Babur, Prince and Emperor, Oxford University Press, 1996; events of 1526, the battle of Panipat. ↩
  7. John M. Kistler, War Elephants (Praeger, 2005). ↩

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. Join the list to be first when it launches.

Or support the app on Ko-fi ›