FixesUpdated 23 Oct 20261 min read

"Non-native account can only be closed if its balance is zero" (0xb)

The fix

You tried to close a token account that still holds tokens. Only empty token accounts can be closed to reclaim rent.

Tools covered

  1. Sol IncineratorNon-custodial Solana wallet cleaner that closes empty token accounts to reclaim rent, with an optional burn mode.UpVisit
  2. Jumpbit Wallet CleanerClose empty token accounts and reclaim the SOL rent.UpVisit

What the error means

Error processing Instruction N: custom program error: 0xb

You tried to close a token account that still holds tokens. Only empty token accounts can be closed to reclaim rent.

Where it comes fromSPL Token program
Code11 (0xb) NonNativeHasBalance

How to fix it

  1. Send, sell or burn the remaining tokens first.
  2. For dust you do not want, burn it, then close the account.
  3. Account cleaners show which accounts are empty; see how to close empty token accounts.

If that is not it

More fixes: how to decode any Solana error code and why Solana transactions fail.

Source

Error text and code from SPL Token program error definitions (solana-program/token), read on 24 October 2026.

Questions people ask

Why can't I close my token account?

It still holds tokens. Empty it first.

How much SOL do I get back?

About 0.002 SOL of rent per closed token account.

"Non-native account can only be closed if its balance is zero"