The DAO Hack, 2016: Reentrancy, 3.6 Million ETH and the Fork

The DAO hack of June 2016: a reentrancy bug drained 3.64 million ETH and led to the Ethereum hard fork, rebuilt hour by hour from archive-node data.

SECURITY5 min readBy AlgoSys ResearchPublished Dec 5, 2026
Contents

The DAO hack was the drain of 3,641,694 ETH from The DAO, an investment fund run by an Ethereum smart contract, on 17 June 2016.1·21 US Securities and Exchange Commission · Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207) · 25 July 20172 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026 A reentrancy flaw let the attacker withdraw the same balance again and again before the contract recorded the withdrawal.3·43 Ethereum Foundation, Vitalik Buterin · CRITICAL UPDATE Re: DAO vulnerability · 17 June 20164 Solidity documentation · Security considerations: re-entrancy · 2026 The ether was locked in a child contract for 27 days, and the Ethereum community used that time to agree on a hard fork at block 1,920,000 that returned the funds to investors; the chain that refused the fork became Ethereum Classic.3·5·63 Ethereum Foundation, Vitalik Buterin · CRITICAL UPDATE Re: DAO vulnerability · 17 June 20165 Ethereum Foundation, Vitalik Buterin · Hard fork completed · 20 July 20166 Ethereum Classic · ETC exchange trading and other news · 24 July 2016 We rebuilt the attack hour by hour from an archive node and matched it with Kraken trades.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026

The attack on The DAO, 17 June 2016First ETH left at 03:34 UTC (block 1,718,497); 3,641,694 ETH by noon. The attack on The DAO, 17 June 2016 ETH in The DAO and in the attacker's child DAO, hourly; Kraken ETH/USD price (right scale) 0M2M4M6M8M10M12M$10$15$20$2517 Jun 00:0017 Jun 06:0017 Jun 12:0017 Jun 18:0018 Jun 00:0018 Jun 06:0018 Jun 12:00 algosys.terminal The DAOchild DAOETH price, Kraken
ETH held by The DAO and by the attacker's child DAO, hourly, 17–18 June 2016, with the Kraken ETH/USD price. Source: archive RPC and Kraken trades, our calculation.

Timeline

Date (2016) Event
30 Apr – 28 May The DAO sells about 1.15 billion tokens for about 12 million ETH11 US Securities and Exchange Commission · Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207) · 25 July 2017
17 Jun, 03:34 UTC First ETH reaches the attacker's child DAO, block 1,718,49722 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026
17 Jun, about 12:00 UTC Drain stops at 3,641,694 ETH22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026
17 Jun Ethereum Foundation: the ether cannot leave the child DAO for about 27 days; a soft fork is proposed33 Ethereum Foundation, Vitalik Buterin · CRITICAL UPDATE Re: DAO vulnerability · 17 June 2016
21–22 Jun Rescuers drain almost all the remaining 7.9 million ETH into their own child DAOs2·52 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 20265 Ethereum Foundation, Vitalik Buterin · Hard fork completed · 20 July 2016
24 Jun Client releases let miners vote on the soft fork through the block gas limit77 Ethereum Foundation, Péter Szilágyi · DAO wars: your voice on the soft-fork dilemma · 24 June 2016
15 Jul Hard fork plan: block 1,920,000 and a refund contract88 Ethereum Foundation, Jeffrey Wilcke · To fork or not to fork · 15 July 2016
20 Jul, 13:20 UTC Block 1,920,000; about 85% of miners follow the fork2·52 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 20265 Ethereum Foundation, Vitalik Buterin · Hard fork completed · 20 July 2016
24 Jul Poloniex lists the unforked chain as Ethereum Classic66 Ethereum Classic · ETC exchange trading and other news · 24 July 2016
25 Jul 2017 SEC report: DAO tokens were securities11 US Securities and Exchange Commission · Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207) · 25 July 2017

What The DAO was

The DAO was a fund without managers. Investors sent ETH and received DAO tokens at about 1 to 1.5 ETH per 100 tokens; token holders were to vote on which projects to finance.11 US Securities and Exchange Commission · Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207) · 25 July 2017 A holder who disagreed with the majority could leave through a "split": the contract created a child DAO and moved the holder's share of ether into it. Ether in a child DAO could not be withdrawn until the end of a 27-day creation period.33 Ethereum Foundation, Vitalik Buterin · CRITICAL UPDATE Re: DAO vulnerability · 17 June 2016 The fund raised about 12 million ETH, worth about $150 million, from April to May 2016.11 US Securities and Exchange Commission · Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207) · 25 July 2017

The bug

The attacker called the split function and, from inside that call, called it again and again, "collecting ether many times over in a single transaction", in the words of the Ethereum Foundation's alert.33 Ethereum Foundation, Vitalik Buterin · CRITICAL UPDATE Re: DAO vulnerability · 17 June 2016 This worked because The DAO paid out before it changed its record of the holder's balance: a transfer to a contract runs the recipient's code, that code re-entered the split function, and The DAO still saw the old balance.3·43 Ethereum Foundation, Vitalik Buterin · CRITICAL UPDATE Re: DAO vulnerability · 17 June 20164 Solidity documentation · Security considerations: re-entrancy · 2026 The attacker repeated this inside each transaction and moved 3.64 million ETH in about eight hours.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026 This class of bug is called reentrancy. The Solidity documentation now teaches the fix as the "checks-effects-interactions" order: update balances first, transfer last, or block reentry with a lock.44 Solidity documentation · Security considerations: re-entrancy · 2026 Our article on reentrancy attacks covers later cases.

Our reconstruction

We read the balances of The DAO contract and of the child DAO that received the ether every hour on 17–18 June 2016, and every day until the fork. The child DAO's address is in the drain list compiled into go-ethereum for the fork.2·92 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 20269 go-ethereum · params/dao.go: DAO drain list and refund contract · July 2016

Time, 17 June (UTC) The DAO, ETH Attacker's child DAO, ETH
03:00 11,599,353 0
05:00 10,651,770 947,584
07:00 9,415,940 2,182,384
09:00 8,270,465 3,327,381
11:00 7,939,911 3,634,211
12:00 7,930,715 3,641,694

Source: archive RPC, our calculation.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026

The pace was steady, about 620,000 ETH an hour until 09:00, and stopped near noon UTC. The Slock.it team, which wrote The DAO's code, reported the attack at 09:27 UK time, 08:27 UTC, when about 2.8 million ETH had already gone.2·102 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 202610 Slock.it, Stephan Tual · DAO security advisory: live updates · 17 June 2016 SEC's report rounds the total to 3.6 million ETH, a third of the fund.11 US Securities and Exchange Commission · Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207) · 25 July 2017

On 21 and 22 June the remaining 7.9 million ETH left the contract as well, moved by a group of DAO participants into a child DAO of their own; by 23 June The DAO held nothing.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026 The Ethereum Foundation's fork announcement calls their contract the "Whitehat DAO".55 Ethereum Foundation, Vitalik Buterin · Hard fork completed · 20 July 2016

Price

Kraken's ETH/USD market printed 28,786 trades from 15 to 21 June 2016.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026 ETH traded at $21.33 at the close of the hour before the drain began and fell to $13.51 at 09:00 UTC, a drop of 37%; it ended 17 June near $15.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026

Estimate Who Basis
About $60 million CoinDesk, 17 June 20161111 CoinDesk · The DAO attacked: code issue leads to $60 million ether theft · 17 June 2016 Price during the day
$77.7 million AlgoSys22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026 3,641,694 ETH at $21.33, Kraken close before the attack
$49.2 million AlgoSys22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026 Same ETH at the intraday low of $13.51

The attack itself pushed the price down, so any dollar figure depends on the hour chosen. We quote the ether amount and use $78 million for the value before the market reacted.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026

The fork

On 15 July 2016 the go-ethereum team published the plan: at block 1,920,000 the balances of The DAO, the attacker's child DAO and the other child DAOs would be moved into a refund contract that paid 1 ETH for every 100 DAO tokens.88 Ethereum Foundation, Jeffrey Wilcke · To fork or not to fork · 15 July 2016 The list of drained accounts and the refund contract address are written into go-ethereum's source code.99 go-ethereum · params/dao.go: DAO drain list and refund contract · July 2016 Block 1,920,000 was mined at 13:20 UTC on 20 July; the Foundation reported about 12 million ETH moved and about 85% of miners on the fork.55 Ethereum Foundation, Vitalik Buterin · Hard fork completed · 20 July 2016 Our count of the refund contract right after the block is 12,001,962 ETH, of which 3,642,409 ETH came from the attacker's child DAO.22 AlgoSys · The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) · 5 December 2026

The chain without the fork kept running. Poloniex listed it as Ethereum Classic on 24 July, and the Classic community reported it as the most active pair on the exchange in the first days.66 Ethereum Classic · ETC exchange trading and other news · 24 July 2016 The split settled a question that comes up after every large hack: whether a blockchain should ever reverse transactions. Ethereum did it once, for The DAO; none of the later thefts on this site led to a fork.

Who was the attacker

No one has been charged. In February 2022 the journalist Laura Shin, working with Chainalysis, named Toby Hoenisch, a programmer and former chief executive of TenX; he called the conclusion "factually inaccurate".1212 The Block · New research claims to identify the man who hacked the DAO · 22 February 2022 We treat the identification as an unproven claim.

Legacy

  • The SEC's report of 25 July 2017 found that DAO tokens were securities and that their sale fell under US securities law.11 US Securities and Exchange Commission · Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207) · 25 July 2017
  • Reentrancy is still a common bug class, and checks-effects-interactions is standard in Solidity guidance.44 Solidity documentation · Security considerations: re-entrancy · 2026
  • The fork created Ethereum Classic, which shares Ethereum's history up to block 1,920,000. The Ethereum page covers the network's later forks.

See also

Categories:HacksEthereumSmart contracts

How we collected the data and checked the facts → editorial policy · data and method (PDF)

FAQ

How much ETH was taken in The DAO hack?

On 17 June 2016 the attacker moved 3,641,694 ETH from The DAO into a child DAO he controlled. That was about a third of the roughly 12 million ETH the fund had raised; at the price just before the attack it was worth about $78 million.

What is a reentrancy attack?

A contract sends ether to another contract before updating its own records. The receiving contract calls back into the first one while the first call is still running and asks for the same money again. The DAO's split function had this flaw.

Why did Ethereum hard fork?

The drained ether was locked in the child DAO for 27 days, which gave the community time to decide. Most of the network chose a fork at block 1,920,000 that moved the funds of the attacker's and the rescuers' child DAOs into a refund contract paying 1 ETH per 100 DAO tokens.

Where does Ethereum Classic come from?

Miners and users who rejected the fork kept the original chain running. Poloniex listed it as Ethereum Classic (ETC) on 24 July 2016, four days after the fork.

Documents · 1

  • The DAO hack: contract balances hourly, the fork block and Kraken ETH/USD prices, June–July 2016AlgoSys · 5 December 2026download PDF

Sources · 12

  1. ↑11 US Securities and Exchange Commission. Report of investigation pursuant to Section 21(a) of the Securities Exchange Act of 1934: The DAO (Release No. 81207). 25 July 2017. accessed 5 December 2026, archived copy.
  2. ↑21 AlgoSys. The DAO, June–July 2016: balances by hour and day, fork block, Kraken prices (PDF) PDF. 5 December 2026. accessed 5 December 2026, archived copy.
  3. ↑7 Ethereum Foundation, Vitalik Buterin. CRITICAL UPDATE Re: DAO vulnerability. 17 June 2016. accessed 5 December 2026, archived copy.
  4. ↑5 Solidity documentation. Security considerations: re-entrancy. 2026. accessed 5 December 2026, archived copy.
  5. ↑6 Ethereum Foundation, Vitalik Buterin. Hard fork completed. 20 July 2016. accessed 5 December 2026, archived copy.
  6. ↑4 Ethereum Classic. ETC exchange trading and other news. 24 July 2016. accessed 5 December 2026, archived copy.
  7. ↑ Ethereum Foundation, Péter Szilágyi. DAO wars: your voice on the soft-fork dilemma. 24 June 2016. accessed 5 December 2026, archived copy.
  8. ↑2 Ethereum Foundation, Jeffrey Wilcke. To fork or not to fork. 15 July 2016. accessed 5 December 2026, archived copy.
  9. ↑2 go-ethereum. params/dao.go: DAO drain list and refund contract. July 2016. accessed 5 December 2026, archived copy.
  10. ↑ Slock.it, Stephan Tual. DAO security advisory: live updates. 17 June 2016. accessed 5 December 2026, archived copy.
  11. ↑ CoinDesk. The DAO attacked: code issue leads to $60 million ether theft. 17 June 2016. accessed 5 December 2026, archived copy.
  12. ↑ The Block. New research claims to identify the man who hacked the DAO. 22 February 2022. accessed 5 December 2026, archived copy.

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →