Ethereum Virtual Machine
The Ethereum Virtual Machine (EVM) is the computation engine that executes smart contract bytecode on Ethereum and EVM-compatible chains.
Last Updated
2026-03-19
Related Concepts
What is EVM?
The Ethereum Virtual Machine (EVM) is a decentralized "world computer" that executes smart contracts. It is the software environment where all Ethereum accounts and contracts live, ensuring that every node in the network runs the exact same code and reaches the same conclusion.
How does EVM work?
- Developers write smart contracts in high-level languages like Solidity.
- The code is compiled into "bytecode," a series of machine-readable instructions.
- This bytecode is uploaded to the blockchain and stored at a specific address.
- When a user sends a transaction to that address, every node in the network runs the bytecode through its local instance of the EVM.
- The EVM uses a stack-based architecture and charges "gas" for every computational step to prevent infinite loops.
Why does EVM matter?
The EVM makes the blockchain "programmable." It transforms Ethereum from a simple distributed ledger (like Bitcoin) into a platform for decentralized applications (dApps).
Its standardized environment allows developers to build complex financial, social, and gaming protocols that are censorship-resistant and always available.
Key features of EVM
- Deterministic (same input always equals same output)
- Turing-complete computation
- Isolated and sandboxed execution environment
- Fuelled by "gas" to prevent spam and resource abuse
- Interoperable across dozens of "EVM-compatible" blockchains
Examples of EVM
Every time you interact with a DeFi protocol like Uniswap or mint an NFT on OpenSea, you are triggering a series of instructions that are being executed by the EVM on thousands of nodes simultaneously.
