☰
← All posts

Solana Account Rent Exemption Explained: Mechanics & Calculations

2026-11-04 · 1 min read

Solanarent exemptiontechnical

Solana's speed depends on fast access to state. To avoid state bloat, where the ledger grows until validator memory becomes too expensive, Solana uses a rent-exemption model. This article covers the mechanics and the math.

1. The economic principle

If storage were a one-time gas expense, users could write data permanently while validators carry it forever. Solana prices storage by size and time instead:

2. Calculating the rent-exempt minimum

minimum (lamports) = (128 + data bytes) x 3,480 x 2

1 SOL = 1,000,000,000 lamports
SPL token account data = 165 bytes
Account storage overhead = 128 bytes
Total = 165 + 128 = 293 bytes

293 x 3,480 x 2 = 2,039,280 lamports = 0.00203928 SOL

That is the deposit every standard token account holds.

3. Account types and storage profiles

Account typeData sizeLocked rent
SPL token account (ATA)165 bytes~0.00204 SOL
Token multisig (up to 11 signers)355 bytes~0.00336 SOL
OpenBook / Serum market~80,000 bytes~0.56 SOL
Custom program stateVariable~0.01 to 2.0+ SOL

4. Reclaiming state storage

When an account's data is no longer needed, its owner can send the token program's CloseAccount instruction. For a token account it does two things atomically:

  1. Closes the account so its data is released from state.
  2. Transfers the remaining lamports, the rent-exempt deposit, to a destination account (your main wallet).

Graveyard Protocol builds these standard instructions for you, batching many token accounts into each transaction, so you can reclaim the rent without writing code.

Keep Reading

Ready to Reclaim Your SOL?

Scan your wallet, close empty token accounts and earn $GHOST. Non-custodial, and you approve every transaction.