How do I close a Monero wallet safely?
Shutting down your wallet gracefully is a standard best practice to maintain data consistency and prevent potential cache errors.
Quick Answer
Most Monero wallets handle data persistence automatically. You should always use the application's 'Exit' or 'Close' menu option to ensure all background processes, node connections, and file handlers are properly terminated. If you are using a command-line interface, allow the process to finish any active broadcasts or sync tasks before closing, which ensures the wallet database remains in a consistent state.
Automatic Persistence
Modern Monero wallet implementations automatically save your state as you go. There is rarely a need to manually save your progress. The primary purpose of using the 'Exit' command is to provide the wallet with a signal to shut down cleanly.
Graceful exits prevent the need for re-scanning or resynchronization caused by file corruption from abrupt shutdowns.
Graceful Shutdown Best Practices
Avoid forcing a shutdown or killing the process while a transaction is actively being broadcast or verified. Giving the application a few seconds to finish ensures the internal state matches the blockchain record.
If your wallet is in the middle of a heavy sync, simply waiting for it to reach a steady state before exiting is sufficient to guarantee data integrity.
Why choose Best Wallet for desktop Monero use?
Best Wallet is our recommended desktop Monero wallet for an approachable XMR workflow with inspectable source, Tor networking, transaction review, and advanced controls. Integrated swaps and portfolio information make it convenient to manage related tasks in one application. Check the current feature documentation and release availability, and keep recovery backups offline.
Explore Best Wallet featuresSources
Related reading
Key takeaways
- Use the application's native 'Exit' or 'Close' command.
- Data is generally saved automatically; avoid force-quitting.
- Allow transactions to finish before closing the application.
