Skip to content
Open J Tools
Close Account 5% of successfully reclaimed rent Platform fee Open tool

Close Account

  • SPL and Token-2022

Every SPL or Token-2022 account you have ever opened holds a rent deposit in SOL, locked for as long as the account exists. How much depends on the account’s size and on the network’s rent rate when the account was opened, so the scan reads the exact amount for each row. Close Token Account scans a wallet, lists every account you can safely close, and closes them in batches so that rent comes back to you as SOL.

Close Account j.tools/en/tools/close-account

Open tool

Platform fee

5% of successfully reclaimed rent

Network fee, rent and transaction value are separate.

When this tool fits

#when-this-tool-fits
  • You trade tokens or memecoins and have piled up empty accounts, each still holding its rent deposit. Fifty of them add up to a real amount of SOL.
  • You want to tidy a single connected wallet and pull its idle rent back into SOL.
  • You manage a set of operational wallets and want to scan and close across all of them in one pass.
  • An account has a small leftover balance you want gone, and you want to burn it and close the account together.
  • You are winding down a wallet and want to release every account’s rent before you stop using it.

Before you start

#before-you-start
  • For Wallet Scan mode, a connected wallet (how to connect). The reclaimed rent returns to it.
  • For Multi Wallet mode, valid private keys, one per line, no duplicates, up to 1000. Wallets you imported in Claim Center in the same tab can be used instead, without pasting their keys again.
  • A connected wallet is also required when it pays gas or is set as the rent destination. A dedicated gas option needs a funded fee-payer key, and a custom rent destination needs a valid public address.
  • Whoever pays the network fee needs some SOL. The “Each Wallet” gas option fails for a wallet that holds zero SOL.

Use only short-lived operational wallets; never enter a seed phrase or a long-term wallet key.

How to use it

#how-to-use-it
  1. Choose a scan mode

    Pick Wallet Scan to work on the connected wallet only, or Multi Wallet to paste one private key per line. Click Scan Accounts.

  2. Review the scanned rows

    Each row shows the token, its balance, the rent it holds and its status. Empty accounts come pre-selected. Keep Close Mode on Only Empty to close zero-balance accounts only, or switch to Burn & Close if leftover balances should be burned first.

  3. Pick gas and destination, then close

    In Multi Wallet mode, choose Gas Paid By (Connected Wallet, Each Wallet, or Dedicated Wallet) and Reclaimed Rent To (Connected Wallet, Each Owner, or Custom Address). Check the summary: selected rent, the platform fee and the estimated network fee. Click Close Selected Accounts.

Key settings

#key-settings
  • Mode: Wallet Scan works on the connected wallet only. Multi Wallet scans and closes across the wallets whose private keys you paste, one per line, up to 1000.
  • Close Mode: Only Empty closes zero-balance accounts. Burn & Close burns any leftover balance first, then closes, and requires a confirmation dialog before burning.
  • Gas Paid By (Multi Wallet): Connected Wallet sponsors all fees, so imported wallets need no SOL. Each Wallet makes every imported wallet pay its own fee. Dedicated Wallet uses a separate pasted fee-payer key for all gas.
  • Reclaimed Rent To (Multi Wallet): Connected Wallet consolidates all reclaimed rent to the connected wallet. Each Owner returns rent to each owning wallet. Custom Address sends it to a public address you paste.
  • Fee-Payer Wallet Key: The private key of a funded wallet that pays all gas. Shown only when Gas Paid By is set to Dedicated Wallet.
  • Filters: A free-text filter across account, token, mint, and wallet, plus Closable Only and Selected Only toggles, and Select Visible / Clear Visible bulk actions. Rows sort by rent, highest first.
  • Per-row selection and status: Every scanned account is a row with a checkbox, balance, plan, and an Idle / Success / Failed status. Empty accounts are pre-selected. Non-empty ones must be selected deliberately.

Fees and costs

#fees-and-costs
CostAmount
J Tools platform fee5% of successfully reclaimed rent
Solana network feePaid to validators during the transaction; shown in the live summary.
Rent and transaction valueShown separately when required; not part of the platform fee.

How to use it

  1. Choose a scan mode
  2. Review the scanned rows
  3. Pick gas and destination, then close

How it works

Close instructions are built rent returns to you

  1. Token accounts scanned for each wallet SPL + Token-2022
  2. Empty accounts preselected, sorted by rent amount = 0
  3. Optional: Burn & Close burns leftovers first Burn
  4. Gas paid by the wallet you chose fee payer
  5. Accounts closed in batches CloseAccount
  6. Rent goes to the destination you chose rent read per account
  7. Platform keeps 5% of reclaimed rent 5%

Accounts closed, rent back as SOL mainnet

Close Account · circles are the steps in How to use it, squares the steps in How it works

Before you sign

#before-you-sign

Check the live summary before signing. The app is the current source of truth for amount, fee and route.

Common issues

#common-issues
  • A wallet has no SOL for gas. In “Each Wallet” gas mode, a wallet with zero SOL cannot pay its own fee and that row fails. Switch Gas Paid By to Connected Wallet or Dedicated Wallet so a funded wallet sponsors the fees.
  • Invalid or duplicate key. Multi Wallet mode flags each pasted line. Remove invalid or repeated entries before scanning.
  • Closed an account you still wanted. Closing only releases rent and never destroys a held balance under “Only Empty”. If you used Burn & Close on a row with a balance, that burn is permanent and the balance is gone for good.
  • Some rows failed. Use Retry Failed to re-run only those rows. Network congestion is a common cause and a retry often clears it.
  • A row is marked Frozen, Withheld fees or Foreign close authority. That account cannot be closed as it is. A frozen account has to be unfrozen by the token issuer, and an account whose close authority belongs to another wallet can only be closed by that wallet. A Token-2022 account that still holds withheld transfer fees shows a Collect withheld fees link to Token-2022 Tax Collector. Once those fees are withdrawn, the account can close.

Practical tips

#practical-tips
  • For many wallets, set Gas Paid By to Connected Wallet and Reclaimed Rent To to Connected Wallet to sweep all the rent into one place in a single pass, even when the owning wallets hold no SOL.
  • Keep a balance you actually want? Move it out first with Multi Sender, then close the now-empty account, rather than reaching for Burn & Close.
  • To burn tokens without closing the account, use Burn Tokens instead.
#related-tools

Help

#help

The tool on this page

Close Account

j.tools/en/tools/close-account

Platform fee
5% of successfully reclaimed rent
Network fee, rent and transaction value are separate.
Open tool