<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SolDuster Team</title>
    <description>The latest articles on DEV Community by SolDuster Team (@support_solduster_25c390c).</description>
    <link>https://dev.to/support_solduster_25c390c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4281315%2Fd562ca38-6615-408b-b917-e90b0dad3096.jpg</url>
      <title>DEV Community: SolDuster Team</title>
      <link>https://dev.to/support_solduster_25c390c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/support_solduster_25c390c"/>
    <language>en</language>
    <item>
      <title>How to close a Solana token account and recover your rent (2026 guide)</title>
      <dc:creator>SolDuster Team</dc:creator>
      <pubDate>Thu, 03 Dec 2026 19:31:11 +0000</pubDate>
      <link>https://dev.to/support_solduster_25c390c/how-to-close-a-solana-token-account-and-recover-your-rent-2026-guide-4bom</link>
      <guid>https://dev.to/support_solduster_25c390c/how-to-close-a-solana-token-account-and-recover-your-rent-2026-guide-4bom</guid>
      <description>&lt;p&gt;If you've traded SPL tokens on Solana for more than a few months, you probably have dozens (or hundreds) of empty &lt;strong&gt;Associated Token Accounts (ATAs)&lt;/strong&gt; locked into your wallet, each holding a rent-exempt deposit: &lt;strong&gt;0.00203928 SOL&lt;/strong&gt; for accounts opened before September 2026, &lt;strong&gt;0.00148844 SOL&lt;/strong&gt; since. This guide walks through every practical way to close them and get that SOL back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites: understanding what you're closing
&lt;/h2&gt;

&lt;p&gt;An SPL token account holds:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A token balance (how many of that specific mint you own)&lt;/li&gt;
&lt;li&gt;A rent-exempt deposit (for a legacy Token account: 0.00203928 SOL if opened before September 2026, 0.00148844 SOL since)&lt;/li&gt;
&lt;li&gt;Ownership metadata&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;code&gt;closeAccount&lt;/code&gt; instruction only works when the token balance is exactly zero. If you have non-zero balance, you must either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transfer the remaining tokens elsewhere&lt;/li&gt;
&lt;li&gt;Or burn them (if worthless)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once balance is 0, &lt;code&gt;closeAccount&lt;/code&gt; returns the rent deposit to a destination address of your choice (usually your main wallet) and marks the account as closed. The account can be re-opened later if you buy that token again, at the cost of a fresh deposit (0.00148844 SOL today).&lt;/p&gt;

&lt;h2&gt;
  
  
  Method 1: The CLI (solana-cli / spl-token)
&lt;/h2&gt;

&lt;p&gt;If you're comfortable with the Solana CLI, this is the direct route.&lt;/p&gt;

&lt;h3&gt;
  
  
  Install
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Solana CLI&lt;/span&gt;
sh -c &lt;span class="s2"&gt;"$(curl -sSfL https://release.solana.com/stable/install)"&lt;/span&gt;

&lt;span class="c"&gt;# spl-token CLI&lt;/span&gt;
cargo install spl-token-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Find your empty ATAs
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# List all token accounts owned by your wallet&lt;/span&gt;
solana-keygen pubkey  &lt;span class="c"&gt;# your wallet address&lt;/span&gt;
spl-token accounts --owner &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;YOUR_WALLET&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The output lists every ATA, its mint, and its balance. Identify the ones with balance &lt;code&gt;0&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Close one account
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;spl-token close-account \
  --address &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;ATA_ADDRESS_TO_CLOSE&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; \
  --recipient &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;YOUR_WALLET&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the account holds tokens, this fails. Transfer or burn first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# burn any remaining tokens&lt;/span&gt;
spl-token burn &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;ATA_ADDRESS&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;AMOUNT&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="c"&gt;# then close&lt;/span&gt;
spl-token close-account --address &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;ATA_ADDRESS&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Close many at once (bash loop)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# get a list of your empty ATA addresses&lt;/span&gt;
spl-token accounts --owner &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;YOUR_WALLET&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; --output json \
  &lt;span class="o"&gt;|&lt;/span&gt; jq -r &lt;span class="s1"&gt;'.accounts[] | select(.tokenAmount.uiAmount == 0) | .address'&lt;/span&gt; \
  &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; empty_atas.txt

&lt;span class="c"&gt;# close them one by one&lt;/span&gt;
&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nb"&gt;read&lt;/span&gt; ATA&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  spl-token close-account --address &lt;span class="s2"&gt;"$ATA"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; empty_atas.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; free, no third-party, full control&lt;br&gt;
&lt;strong&gt;Cons:&lt;/strong&gt; requires CLI setup, one transaction per close, tedious for 100+ accounts&lt;/p&gt;
&lt;h2&gt;
  
  
  Method 2: jup.ag/close (Jupiter)
&lt;/h2&gt;

&lt;p&gt;Jupiter's built-in cleanup tool at &lt;a href="https://jup.ag/close" rel="noopener noreferrer"&gt;jup.ag/close&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Steps
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Connect your wallet at jup.ag&lt;/li&gt;
&lt;li&gt;Navigate to jup.ag/close (or find "Close accounts" in the wallet menu)&lt;/li&gt;
&lt;li&gt;The page auto-scans for empty accounts&lt;/li&gt;
&lt;li&gt;Select which ones to close (or "Select all")&lt;/li&gt;
&lt;li&gt;Click "Close" and sign the transaction in your wallet&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; free, familiar Jupiter UI, non-custodial&lt;br&gt;
&lt;strong&gt;Cons:&lt;/strong&gt; manual per-item selection&lt;/p&gt;
&lt;h2&gt;
  
  
  Method 3: sol-incinerator.com
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://sol-incinerator.com" rel="noopener noreferrer"&gt;Sol Incinerator&lt;/a&gt; was originally built to burn worthless tokens; it added account closing as a follow-up feature.&lt;/p&gt;
&lt;h3&gt;
  
  
  Steps
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Connect wallet&lt;/li&gt;
&lt;li&gt;Auto-scans for tokens&lt;/li&gt;
&lt;li&gt;Select accounts to close&lt;/li&gt;
&lt;li&gt;Sign the transaction&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; free, non-custodial, dedicated tool&lt;br&gt;
&lt;strong&gt;Cons:&lt;/strong&gt; dated UI, primary focus is token burning not rent recovery, single-wallet&lt;/p&gt;
&lt;h2&gt;
  
  
  Method 4: SolDuster (automatic scan + batch close)
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://solduster.com" rel="noopener noreferrer"&gt;SolDuster&lt;/a&gt; was built to make the cleanup a two-click job: it finds every empty account automatically, leaves tokens with value untouched, and closes everything in one signature prompt.&lt;/p&gt;
&lt;h3&gt;
  
  
  Steps
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Open &lt;a href="https://solduster.com" rel="noopener noreferrer"&gt;solduster.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Connect your first wallet — auto-scan runs (no signature required)&lt;/li&gt;
&lt;li&gt;Review the SOL recoverable&lt;/li&gt;
&lt;li&gt;Click "Recover All SOL" — the wallet signs all its batched &lt;code&gt;closeAccount&lt;/code&gt; transactions in one prompt (typically 12 closes per tx, so a wallet with 40 empty ATAs signs 4 batches at once via &lt;code&gt;signAllTransactions&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;The SOL returns to your wallet within seconds&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;
  
  
  Under the hood
&lt;/h3&gt;

&lt;p&gt;The frontend uses &lt;code&gt;@solana/web3.js&lt;/code&gt; and &lt;code&gt;@solana/spl-token&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;createCloseAccountInstruction&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;TOKEN_PROGRAM_ID&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'@solana/spl-token'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// build batched close instructions&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;closeIxs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;emptyAtas&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ata&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
  &lt;span class="nf"&gt;createCloseAccountInstruction&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ata&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;wallet&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;wallet&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// group into 12-close chunks to fit in 1232-byte tx limit&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;chunks&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;closeIxs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;transactions&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;chunks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ixs&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Transaction&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ixs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// sign all in one wallet prompt&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;signed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;wallet&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;signAllTransactions&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;transactions&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// broadcast&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;tx&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;signed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;connection&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sendRawTransaction&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;serialize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Pros:&lt;/strong&gt; automatic scan, tokens with value never touched, Token-2022 support, one signature prompt per wallet for all its closes, non-custodial&lt;br&gt;
&lt;strong&gt;Cons:&lt;/strong&gt; requires trusting the frontend (source code auditability is on the roadmap)&lt;/p&gt;

&lt;h2&gt;
  
  
  Comparing the methods
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Automatic scan&lt;/th&gt;
&lt;th&gt;Batch signing&lt;/th&gt;
&lt;th&gt;Token-2022&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CLI&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No (1 tx per close)&lt;/td&gt;
&lt;td&gt;Yes (specify program)&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;jup.ag/close&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes (batched)&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sol-incinerator&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SolDuster&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Free scan, ~$0.001 gas&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Common pitfalls
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;"Transaction too large" error&lt;/strong&gt;&lt;br&gt;
Solana caps transactions at 1232 bytes. Each &lt;code&gt;closeAccount&lt;/code&gt; instruction takes ~40 bytes. Keep batches under 12 closes per transaction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Account not empty"&lt;/strong&gt;&lt;br&gt;
Balance must be exactly 0. Some memecoin contracts inject dust into your ATA specifically to prevent closing. Burn the dust first with &lt;code&gt;spl-token burn &amp;lt;address&amp;gt; &amp;lt;amount&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Insufficient funds"&lt;/strong&gt;&lt;br&gt;
You need a tiny amount of SOL for transaction fees (~5000 lamports = $0.001). Fund your wallet first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Account gets reopened after closing&lt;/strong&gt;&lt;br&gt;
Some token launches auto-airdrop dust to previous holders, reopening your ATA. There's nothing to do about this — just close it again periodically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wallet doesn't show the returned SOL&lt;/strong&gt;&lt;br&gt;
Some wallets cache balances. Refresh, or check the actual balance on &lt;a href="https://solscan.io/account/YOUR_ADDRESS" rel="noopener noreferrer"&gt;Solscan&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much can you actually recover?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Casual users&lt;/strong&gt; (20-50 tokens ever held): 0.03 – 0.10 SOL (~$6-20)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Active memecoin traders&lt;/strong&gt;: 0.3 – 1.5 SOL (~$60-300)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sniper bot operators&lt;/strong&gt;: 2-5+ SOL across their wallet fleet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Free way to check: paste your wallet address into &lt;a href="https://solduster.com" rel="noopener noreferrer"&gt;SolDuster&lt;/a&gt; — no wallet connection needed for the estimate.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Do I lose the tokens if I close the account?&lt;/strong&gt;&lt;br&gt;
No. Balance must already be 0 when you close. Close only affects the ATA itself, not any tokens (there are none if balance is 0).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I close accounts for tokens I still hold?&lt;/strong&gt;&lt;br&gt;
No. Sell or transfer the tokens first, then close.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is closing an account reversible?&lt;/strong&gt;&lt;br&gt;
Semi. The account is closed on-chain and its state is gone, but if you receive the same token again in the future, a new ATA is opened for it (costing another deposit, 0.00148844 SOL today).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are there any risks?&lt;/strong&gt;&lt;br&gt;
The &lt;code&gt;closeAccount&lt;/code&gt; operation itself is straightforward Solana runtime behavior — no smart contract risk. The only risks come from the tool used: if a tool has malicious code that swaps &lt;code&gt;closeAccount&lt;/code&gt; for a &lt;code&gt;transfer&lt;/code&gt; to a foreign address, you'd lose funds. This is why non-custodial tools with signature review (visible destination in your wallet UI) matter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Should I close all my ATAs at once?&lt;/strong&gt;&lt;br&gt;
You can, but consider keeping ATAs for tokens you actively trade — you'll just re-pay the deposit (0.00148844 SOL today) next time you buy that token.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;The math is simple: every empty token account = ~0.0015 to 0.002 SOL locked, depending on when it was opened. Multiply by however many you've accumulated. Close them in one signed transaction using the tool that fits your workflow.&lt;/p&gt;

&lt;p&gt;If you want to run a free scan of your wallet: &lt;a href="https://solduster.com" rel="noopener noreferrer"&gt;solduster.com&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Have questions about closing accounts or rent mechanics? Reach out on X at &lt;a href="https://x.com/SoldusterHQ" rel="noopener noreferrer"&gt;@SoldusterHQ&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://solduster.com/blog/how-to-close-solana-token-account" rel="noopener noreferrer"&gt;solduster.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>solana</category>
      <category>web3</category>
      <category>blockchain</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
