> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Accounts

> Solana accounts are the fundamental data unit for storing state on the network. Account structure, addresses, types, rent, ownership, and modification rules.

## 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.

<div className="sol-usedin not-prose" data-concept="account">
<span className="sol-usedin-label">You've used this in:</span> [Quickstart <span className="sol-usedin-step">Step 1</span>](/developers/docs/quickstart/check-balance) [Tokenized asset <span className="sol-usedin-step">Step 2</span>](/developers/docs/assets/issue-asset/browser)
</div>

The network stores all state in one key-value store: each key is a 32-byte
address, and each value is an account.

<Frame caption="Accounts form one key-value store: each address maps to an account with five fields.">
  <img className="block dark:hidden" src="/docs-assets/assets/docs/core/accounts/accounts-light.svg" alt="Accounts form one key-value store: each address maps to an account with five fields." />

  <img className="hidden dark:block" src="/docs-assets/assets/docs/core/accounts/accounts.svg" alt="Accounts form one key-value store: each address maps to an account with five fields." />

  <img className="block dark:hidden" src="/docs-assets/assets/docs/core/accounts/accounts-sm-light.svg" alt="Accounts form one key-value store: each address maps to an account with five fields." />

  <img className="hidden dark:block" src="/docs-assets/assets/docs/core/accounts/accounts-sm.svg" alt="Accounts form one key-value store: each address maps to an account with five fields." />
</Frame>

<Columns cols={2}>
  <Card title="Account structure" href="/developers/docs/core/accounts/account-structure">
    Addresses, the five fields every account has, and the storage balance,
    with an interactive code walkthrough.
  </Card>
  <Card title="Account types" href="/developers/docs/core/accounts/account-types">
    Program accounts, data accounts, system accounts, and sysvars.
  </Card>
  <Card
    title="Modification rules"
    href="/developers/docs/core/accounts/modification-rules"
  >
    Runtime-enforced rules for lamports, data, owner, executable flag, and
    borrows.
  </Card>
  <Card title="Account runtime" href="/developers/docs/core/accounts/account-runtime">
    Account loading validation, BPF serialization format, and deserialization.
  </Card>
</Columns>

## 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](/developers/docs/core/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`](https://github.com/anza-xyz/agave/blob/v3.1.8/transaction-context/src/lib.rs#L34)                    |
| Max data growth per instruction   | 10 KiB (10,240 bytes)                                       | [`MAX_PERMITTED_DATA_INCREASE`](https://github.com/anza-xyz/solana-sdk/blob/clock%40v2.2.3/account-info/src/lib.rs#L17)       |
| Max data growth per transaction   | 20 MiB (20,971,520 bytes)                                   | [`MAX_ACCOUNT_DATA_GROWTH_PER_TRANSACTION`](https://github.com/anza-xyz/agave/blob/v3.1.8/transaction-context/src/lib.rs#L38) |
| Account base storage overhead     | 64 bytes per account                                        | [`TRANSACTION_ACCOUNT_BASE_SIZE`](https://github.com/anza-xyz/agave/blob/v3.1.8/svm/src/account_loader.rs#L45)                |
| 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](https://github.com/solana-foundation/solana-improvement-documents/blob/main/proposals/0437-incremental-rent-reduction.md) |
