Satoshi did discuss this issue in a BitcoinTalk post on June 14, 2010, and offered two possible approaches.
At the time, he said explicitly:
“If SHA-256 became completely broken, I think we could come to some agreement about what the honest blockchain was before the trouble started, lock that in and continue from there with a new hash function.”
(If SHA-256 were completely broken, I think we could reach some kind of agreement on what the honest blockchain was before the problem began, lock it in, and continue from there using a new hash function.)
If it were a gradual weakening, he suggested:
“If the hash breakdown came gradually, we could transition to a new hash in an orderly way. The software would be programmed to start using a new hash after a certain block number. Everyone would have to upgrade by that time. The software could save the new hash of all the old blocks to make sure a different block with the same old hash can't be used.”
(If the hash failure were gradual, we could transition to a new hash in an orderly way. The software would be programmed to start using the new hash after a certain block height, and everyone would have to upgrade before then. The software could also save the new hashes of all the old blocks to prevent someone from replacing them with different blocks that have the same old hashes.)
To summarize his two proposals
Suddenly and completely compromised
The community would first reach consensus on “the last honest chain before the attack” and lock it in (effectively rolling back to that point), then use a hard fork to switch to a new hash function and continue from there.Security gradually weakening
Develop and test a new hash algorithm in advance, then activate the switch at a specific block height in the future. All nodes across the network would upgrade before then, while historical blocks would be “anchored” again using the new hash to prevent malicious rewriting of history.
Satoshi also added at the time that SHA-256 is extremely strong and is not undergoing the kind of gradual degradation seen from MD5 to SHA-1. It could be used safely for decades unless a major breakthrough attack emerged.
A practical note
The full 64-round SHA-256 remains secure today. Recent AI discoveries have found collisions only in versions with substantially fewer rounds (such as 38 or 39 rounds). They pose no practical threat to actual Bitcoin mining (double SHA-256) or blockchain structure.
The greater long-term concern is actually elliptic-curve signatures (ECDSA/secp256k1), especially the threat quantum computing poses to exposed public keys—not SHA-256 itself.
Switching hash functions is technically feasible, but it would face practical challenges such as hard-fork coordination, rendering all ASIC miners obsolete, and disputes over transaction rollbacks. The community is more inclined to prepare alternatives in advance (such as SHA-512 or Keccak) than to wait for a real crisis and respond at the last minute.
So, Satoshi really did think about “what if something happened to the hash algorithm” 16 years ago, and laid out a high-level emergency response framework. Bitcoin’s design allows the underlying cryptographic primitive to be changed at the consensus level; its survival is not entirely tied to any one specific algorithm remaining unbreakable forever!

