5000lamportstosol.com
Blog
Solana charges rent for account storage measured in lamports per byte per year. Accounts that hold a sufficient lamport balance are considered 'rent-exempt' and never pay ongoing storage fees. Understanding rent-exempt balances is essential for Solana program development.

Solana Account Rent: Lamports Per Byte Explained

Every account on Solana stores data on-chain, and that storage costs lamports. To avoid ongoing rent charges, an account must hold a rent-exempt minimum balance. As of 2024, the rent-exempt minimum is approximately 3,480 lamports per byte per year for a two-year deposit.

Common Rent-Exempt Balances

  • Basic system account (0 bytes data) ≈ 890,880 lamports
  • SPL Token account (165 bytes) ≈ 2,039,280 lamports
  • Mint account (82 bytes) ≈ 1,461,600 lamports
  • These values may change with network upgrades

Rent in SOL

  • 890,880 lamports ≈ 0.00089088 SOL
  • 2,039,280 lamports ≈ 0.00203928 SOL
  • 1,461,600 lamports ≈ 0.0014616 SOL
  • Use getMinimumBalanceForRentExemption RPC call for exact values

Accounts below the rent-exempt threshold will gradually lose lamports to rent each epoch until the account is closed. Always fund accounts above the minimum to avoid this.

How to Calculate Rent-Exempt Minimum

The formula: Minimum Lamports = (128 + data_size_bytes) × 6,960 × 2 (approximation for 2-year deposit). For precise values, always use the getMinimumBalanceForRentExemption(dataSize) RPC method, which accounts for the current rent rate set by the network.