What is Offchain? Offchain refers to any data, activity, or process that occurs outside of a blockchain network, stored and managed by centralized systems or external infrastructure rather than being recorded directly on-chain.
Offchain Explained Remember the noticeboard and notebook analogy from onchain.
Offchain is the notebook.
It is faster and cheaper to write in. But only one person controls it.
They can edit it, hide pages, or lose it entirely.
Most of the internet runs offchain. Your social media profile, your bank balance, your email. All stored on servers controlled by companies.
In crypto, offchain systems are used when speed or cost makes going fully onchain impractical, but the tradeoff is always some degree of trust in whoever controls the data.
What Offchain Means For Audience
Use Case
Blockchain developers and engineers
Use offchain systems for data storage, computation, or communication that does not require the permanence or transparency of onchain recording
Protocol teams and founders
Understand which parts of their stack are offchain and communicate the associated trust assumptions clearly to their users
Analysts and researchers
Identify when protocol metrics rely on offchain data sources and account for the reduced verifiability when drawing conclusions
Examples A centralized exchange processes trades offchain in its internal database, settling only net balances onchain periodically to reduce transaction costs and increase speed.
A Web3 project stores user profile images and metadata offchain on a server rather than onchain, reducing storage costs while accepting the risk that the server could go down.
A Layer 2 network processes thousands of transactions offchain and periodically submits a compressed proof of those transactions to the main chain to reduce fees and increase throughput.
A protocol uses offchain governance signaling through a platform like Snapshot to gauge community sentiment before executing a binding onchain vote.
FAQs What is the difference between offchain and onchain? Onchain data is recorded on the blockchain, making it public, permanent, and trustless. Offchain data lives outside the blockchain and depends on centralized systems to store and verify it.
Is offchain always bad or less trustworthy? Not inherently. Offchain systems are faster and cheaper. The key is understanding who controls the data and what happens if that party acts dishonestly or goes offline.
What is an offchain transaction? An offchain transaction is a transfer or exchange that is agreed upon and recorded outside the blockchain, often settled onchain later in batches to reduce costs and increase speed.
Why do some Web3 projects use offchain storage? Storing data onchain is expensive. Large files like images, metadata, and documents are typically stored offchain using systems like IPFS or traditional servers to keep costs manageable.
What is the relationship between offchain systems and Layer 2 networks? Layer 2 networks process transactions offchain to increase throughput and reduce fees, then submit compressed proofs or batches of transactions to the main chain to inherit its security guarantees.