---
eip: 1418
label: EIP-1418
title: Blockchain Storage Rent Payment
status: Stagnant
type: Standards Track
category: Core
created: 2018-09-16
requires: 1559
official: https://eips.ethereum.org/EIPS/eip-1418
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1418.md
canonical: https://eips.huatuo.xyz/eip-1418/
lang: en
tldr: A stagnant proposal to charge every account rent each block for the storage it occupies, and to evict accounts whose rent runs out, so state growth has an ongoing cost.
tags: [state-rent, storage, state-growth, core]
---

# EIP-1418: Blockchain Storage Rent Payment

> At each block, deduct value from every account based on the quantity of storage used by that account.

**TL;DR:** A stagnant proposal to charge every account rent each block for the storage it occupies, and to evict accounts whose rent runs out, so state growth has an ongoing cost.

## What problem does it solve?

On Ethereum you pay once to write data into state and then it stays forever, while every full node has to keep storing it. The spec's argument is that storage really costs roughly *bytes × time*, so a one-time fee underprices it and state keeps growing.

EIP-1418 proposes **storage rent**: each account continuously pays for the code and storage words it uses. When an account cannot pay, it is evicted and its storage can be dropped by nodes.

## How it works

Each account gains a separate **rent balance** (signed, in wei) and a count of non-zero storage words. Two constants set the price per block: `RENT_ACCOUNT_COST` for existing at all and `RENT_WORD_COST` per 32-byte word of code or storage.

Rent is charged lazily, whenever the account is touched:

```pseudocode
PAYRENT(account)
    blocks = NUMBER - rentLastPaid
    perBlock = RENT_ACCOUNT_COST + RENT_WORD_COST * (codeWords + storageWords)
    rent -= blocks * perBlock
    if rent < 0: take the shortfall from the account's ETH balance
    rentLastPaid = NUMBER
    rentEvictBlock = NUMBER + floor(rent / perBlock)
```

- `SSTORE` runs `PAYRENT` first and updates the storage-word count when a slot goes from zero to non-zero or back.
- `SLOAD`, `SSTORE` and `CALL` on an **evicted** account fail unless the transaction uses a new transaction type that carries proofs of the old code and storage.
- New opcodes: `RENTBALANCE(address)` reads the rent balance; `SENDRENT(address, amount)` converts the caller's ETH into rent for any account.
- A built-in contract lets plain accounts top up rent for others.

Anyone can pay a contract's rent, and ETH converted to rent cannot be turned back into ETH. The spec suggests starting values of 4,000 wei per word per block and per account per block, with no changes to existing gas costs.

## Sample code

Illustrative only: no EVM implements these opcodes. A contract topping up the rent of a dependency might look like this in Yul-style pseudocode:

```solidity
// Pseudocode: RENTBALANCE / SENDRENT are proposed opcodes, not real ones
function keepAlive(address dep, uint256 minBlocks, uint256 perBlock) external payable {
    uint256 rent = rentbalance(dep);              // RENTBALANCE
    uint256 needed = minBlocks * perBlock;
    if (rent < needed) {
        sendrent(dep, needed - rent);             // SENDRENT, from msg.value
    }
}
```

## Things to know

- **Status: Stagnant.** Large parts are still marked DRAFT, including how to compute the storage-word count for existing accounts without requiring archive data at the fork.
- The spec lists [EIP-1559](/eip-1559/) as a requirement and leans on its typed transactions to carry proofs for evicted accounts.
- State rent was explored in several other proposals, such as the "State Rent" series including [EIP-2027](/eip-2027/) and [EIP-2029](/eip-2029/). None were adopted; research moved toward approaches like statelessness and state expiry instead.
- A recognized drawback, noted in the spec, is that many contracts let anyone write arbitrary amounts of storage into them, which makes rent hard to retrofit onto an existing chain.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-1418
