In short
Everything on Solana (balances, tokens, programs, app data) lives in accounts: records at an address, each with an owner that is allowed to change it.You’ve used this in: Quickstart Step 1 Tokenized asset Step 2
The network stores all state in one key-value store: each key is a 32-byte
address, and each value is an account.
Account structure
Addresses, the five fields every account has, and the storage balance,
with an interactive code walkthrough.
Account types
Program accounts, data accounts, system accounts, and sysvars.
Modification rules
Runtime-enforced rules for lamports, data, owner, executable flag, and
borrows.
Account runtime
Account loading validation, BPF serialization format, and deserialization.
Key facts
- Structure: Every account has the same five fields: lamports, data, owner, executable, rent_epoch.
- Address: Each account has a unique 32-byte address, either an Ed25519 public key or a PDA.
- Ownership: Only the account’s owner program can modify its data or debit lamports. Any program can credit lamports to any writable account.
- Storage: Every account holds a refundable minimum lamport balance, proportional to its data size, to stay onchain.
Limits
| Limit | Value | Source |
|---|---|---|
| Max account data size | 10 MiB (10,485,760 bytes) | MAX_ACCOUNT_DATA_LEN |
| Max data growth per instruction | 10 KiB (10,240 bytes) | MAX_PERMITTED_DATA_INCREASE |
| Max data growth per transaction | 20 MiB (20,971,520 bytes) | MAX_ACCOUNT_DATA_GROWTH_PER_TRANSACTION |
| Account base storage overhead | 64 bytes per account | TRANSACTION_ACCOUNT_BASE_SIZE |
| Address size | 32 bytes (Ed25519 public key) | — |
| Minimum storage balance (formula) | (account_size + 128) * lamports per byte (5,080 on mainnet and devnet as of October 2026; call getMinimumBalanceForRentExemption for the current value) | SIMD-0437 |