> For the complete documentation index, see [llms.txt](https://docs.soldustvacuum.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soldustvacuum.app/close-accounts/overview.md).

# Overview

Closing accounts offloads the validators, which makes the network run smoothly. Users are rewarded in SOL for closing unused accounts.

Closing accounts is a standard functionality of the Solana network, therefore we can leverage the power of the standard programs, more specifically the SPL (Solana Program Library).

The SPL program is a collection of instructions used for creating and managing tokens, both fungibles and NFTs. One of those instructions is the `closeAccount`.

## Closing Solana Accounts

[Closing accounts](https://solana.com/developers/cookbook/accounts/close-account) enables you to reclaim the SOL that was used to open the account but requires deleting of all information in the account.

The process of closing an account is straightforward: generate the instructions using the SPL program; create and sign the transaction using the instructions created;&#x20;

The process is different when the account holds any data. In that case, we need to generate also a burn instruction to empty the account before closing it.

## Rewards

Since the conception of Solana, the devs had in mind this account system. The main reason for the system be called RENT and not TAX is that you just have to pay while you are using it. This incentivizes users to close their accounts, signaling to the network that those accounts are not used anymore and can be freed.

The price of renting an account is relative to the data stored on the account, but for fungible tokens, the usual price is **0.00203928.**

This value doesn't seem much. And in fact is very small. But the fact of it being so low and we barely can feel its impact makes so we never take it into account. But when you look at the number of tokens in your wallet and make the counts you see that you have a saving that you didn't know.

It's not hard to hit the hundreds of tokens in your wallet on Solana. The lower gas fee, the speed, and the developer experience facilitate that.  Just for comparison, 250 tokens cost \~0.5 SOL in rent.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.soldustvacuum.app/close-accounts/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
