UTXO consolidation is the process of producing a single UTXO from a set of multiple UTXOs by creating a transaction to send Bitcoin from one address that you manage to another.
Consolidating UTXOs is proactive Bitcoin wallet maintenance that can help mitigate future expenses during high fee environments by creating transaction(s) to send Bitcoin to yourself during a low fee environment.
Sending Bitcoin from an address you manage to a different address that you manage can optimize transactions and can help to save on network fees in the future.
Fees are typically higher during Bull markets and lower during Bear markets. Every 210,000 blocks, every ~4 years, the block reward for miners is halved and higher fees have historically been the outcome.
The halving in 2024 could be another catalyst where fees are also likely to go up during the next bull market cycle.
Not having a strategy for UTXO consolidation could be a costly mistake, especially in anticipation of a high fee environment.
Your strategy could be as simple as a calendar reminder to consolidate and clean up UTXOs every 3-6 months.
For example: If you have accumulated 10 BTC over the past 6 years with a weekly recurring buy you will have 312 UTXOs. Consider a strategy of transferring 1 BTC at a time to your new wallet or across multiple wallets. You’ll end up with 10 Unspent UTXOs each with 1 BTC.
Keep reading to learn more about the importance of consolidating UTXOs.
Where do Bitcoin UTXOs come from?
First things first. New Bitcoin enters the market through mining. Miners are specialized nodes on the Bitcoin Network that validate a new block through a process called mining.
Miner’s costs include electricity rates and hardware (mining rigs). Miners make money from transaction fees and are rewarded with a Bitcoin block subsidy for every successfully mined block added to the blockchain.
The most common ways to acquire Bitcoin are by purchasing from an exchange, directly via peer-to-peer (P2P) transaction or by collectively participating in a mining pool.
Buying Bitcoin on an exchange, like Coinbase, does not necessarily create a UTXO for each recurring buy until you send Bitcoin off-exchange. The only exception to this is if your exchange has a dedicated wallet and you’re in possession of the recovery seed.
Sending Bitcoin from your exchange account to the public address of your software (hot) or hardware (cold) wallet creates a UTXO which is cryptographically locked by your keys until/unless you initiate a transaction to spend it.
Each transfer out creates a new UTXO. These individual UTXOs are added up to display your wallet/account balance.
Your private key grants you access to your funds and is used to sign or verify future transactions.
Over time, as you receive Bitcoin the number of UTXOs in your wallet increases.
You might be wondering, “how much does it cost to use multiple UTXOs in a transaction?”
Transaction fees are not calculated based on the amount transferred, rather the number of UTXOs used as inputs to complete the transaction.
For example, if the transaction fee is 50 sats/vByte you will pay 0.0000005 BTC per virtual Byte (vByte). The average size of a UTXO is ~250 vBytes which will cost 0.000025 BTC (50 x 0.0000005). If your transaction requires more than one UTXO or if you use multi-sig the data size of the transaction increases by 68-148 vBytes per additional UTXO input.
The more UTXOs in your wallet, the more expensive it becomes to exchange your Bitcoin for goods, services or dollars due to rising network transaction fees.
How Does UTXO Consolidation Strategy Work?
UTXO consolidation is the process of combining your total UTXO set into fewer UTXOs of a higher denomination.
A UTXO Consolidation strategy is the execution of your personal plan to determine what UTXOs to group together as inputs to create a single (or more) UTXOs.
The strategy behind how you consolidate your UTXOs can be as simple or as complex as you’d like to make it.
Here’s an example of how a UTXO consolidation strategy works in real life.
Example: Imagine you had a wad of 200 $1 dollar bills in your pocket and wanted to exchange them for fewer bills of higher denominations so it’s easier to carry around.
- Option 1: Keeping it simple with two $100 bills.
- Option 2: Ten $20 bills fit nicely in your pocket and are easy to transact with.
- Option 3: I’d probably go with one $100, one $50, two $20s and $10.
There’s no limit to the number of options you can choose from and that’s the point.
The most important consideration when consolidating Bitcoin UTXOs is to keep coins (UTXOs) in groups based on how you acquired them to maintain your privacy on the blockchain.
Once your strategy takes the source of your Bitcoin into consideration, you’re left with three primary decisions:
- Should I consolidate now or wait given the current fee environment? Establish your boundaries. For me, 10 sats/vByte is low, 25 sats/vByte is decent, 50 sats/vByte is high, anything above 50+ is too high. I might wait for a dip from 50 to 25 before I consolidate.
- What size outputs do I want to manage? If you have 10 Bitcoin HODLd across 312 UTXOs then consolidating to 10 1BTC UTXOs each sent to a different wallet address sounds reasonable. If you’re not a wholecoiner yet, I’d consolidate to 1 UTXO per acquisition source to keep it simple.
- How many addresses will you use to store your UTXOs? At least one per source of funds. The more complicated your strategy, the harder it is to keep track of what you have.
The goal of your strategy is to make sure you’re not holding a bunch of dust UTXOs that are unspendable because you were too lazy to spend an hour putting a plan into action.
Who should consolidate UTXOs?
If you have more than 3 UTXOs from a common source, you’re a candidate for considering consolidating UTXOs.
UTXO consolidation is a good wallet maintenance practice that can be costly to overlook because of Network Transaction Fees which are variable based on supply and demand.
The more transactions competing to be included in the next block the higher the fee (sats/vByte) because each block on the Bitcoin Blockchain is fixed in size up to 4 million weight units (WU) equivalent to 4MB of data.
As Bitcoin adoption increases, we expect a correlated fee environment which would increase transaction fees over time due to competition based on supply and demand economics.
You can bet that Exchanges and Bitcoin payment processors (like Square) have people on staff responsible for managing UTXO consolidation given the transaction volumes they process.
Individual investors (like you) may not even realize the impact that fees could have on your wealth when you finally decide to transfer, spend or cash out some Bitcoin.
Dollar Cost Averaging is great for helping investors ignore the volatility of Bitcoin, but it’s really important to have a UTXO consolidation plan in place.
Consolidating Bitcoin from an Exchange Recurring Buy
When I first learned about Bitcoin in 2017 I immediately set up a weekly recurring buy. In hindsight, I wish I increased my buying levels but it is what it is.
Before Stratus, I was dollar cost averaging into Bitcoin weekly with a fixed amount recurring buy on Coinbase. I’m still using Coinbase to execute the trades but with Stratus, I have a bot to automate weekly DCA investments which buys the intraweek dips using smart limit orders.
I went from buying on the same day of the week, same time of the day to filling 3 or 4 limit orders depending on volatility.
I upgraded from at the same time and same day of the
Rather than a recurring buy that executes on the same time and same day each week, Stratus fills 3-4 orders per week to lower my cost basis and save on fees even with more executed trades.
Thankfully I knew about UTXO consolidation but didn’t consider a strategy until I got my first hardware wallet and paid more attention as network fees increased over the years.
Pro Tip: When you purchase Bitcoin on an Exchange, like Coinbase, UTXOs aren’t created until you transfer out to a non-custodial wallet because the exchange controls public and private keys and your balance is their liability.
I wasn’t one of these savages transferring from Coinbase to cold storage every week or I would have ended up with over 100+ UTXOs and in desperate need for consolidation.
My indecision saved me from dealing with 26,784 vBytes worth of data that cost 1,339,200 sats (0.01339200 BTC) or ~$500 (at $40,000 BTC:USD) in network fees assuming a 50 sats/vByte rate.
Here’s an example of what a UTXO consolidation looks like in the mempool during a low fee environment:
- Transaction Size: 99,899 Virtual Bytes
- Inputs: 2,000 (Type: P2SH ‘3’)
- Outputs: 2 (Type: SegWit ‘bc1’)
- Fee Rate: 12.4 sats/vByte
- Total Fees: $766.90
- Fee savings vs. 50 sat/vByte: $2,356.24
What are the Benefits of UTXO Consolidation?
UTXO consolidation is not a common practice for most Bitcoiners and there’s still a lot of uncertainty surrounding the questions getting asked online or warnings to consolidate before it’s too late. Note – be careful whose advice you’re taking.
Main benefits of consolidating your UTXOs:
- You can reduce your transaction fees paid to miners by using as few input UTXOs as possible.
- As network fees rise over time (post-halving) your UTXOs will become more expensive to spend in the future.
- You’re in control. No one can predict the future, but I’d hate to be in a position where I needed to make a transaction in BTC during a period of All Time High network fees or during network congestion (like surge pricing for Uber).
- Knock out two birds with one stone by upgrading your legacy Bitcoin address consolidating UTXOs by sending to the more modern Native SegWit bech32.
- Avoid signing errors stemming from your hardware wallet’s inability to process too many UTXOs in a single transaction due to the limited storage capacity.
- Finally, the altruistic benefit for UTXO consolidation helps reduce the Bitcoin Network’s total UTXO Set which makes it easier (less data) for someone to run a full node. This waterfall benefit makes Bitcoin even more accessible, decentralized, and secure 👏.
Disadvantages of UTXO Consolidation
The disadvantages of UTXO consolidation are relatively insignificant including short term network fees and a loss of privacy if you don’t have a strategy in place.
You either pay now to consolidate or later when you transact.
If network fees reduce over time, paying to consolidate now could be a disadvantage to the future unknown.
Over a long time horizon, fees will likely increase. The key to overcoming the disadvantage of current network fees is to set a target fee that you’re willing to pay based on the 30/60/90/180/365 day moving average of fee rates.
Privacy is the most overlooked disadvantage for consolidating Bitcoin UTXOs.
Dusting is a tactic used by hackers AND marketers to send small amounts of crypto to addresses with the goal of getting the dust UTXOs batched or consolidated in a transaction. Read this post on mitigating Bitcoin dusting attacks for more information.
Can you imagine paying a bill and having your bank account balance displayed to the vendor?
The major risk for consolidating UTXOs is not too dissimilar. If you inadvertently connect a bunch of previously unconnected transactions and their respective outputs you could expose your identity and the total amount of your stack.
UXTO Consolidation and Privacy
Sticking with our previous example, let’s assume you have accumulated 10 BTC over the years, congrats!
Your exchange recurring buys, mining at home, and consulting on the side created 3 sources of Bitcoin.
If you were smart, you generated a new address every time you received Bitcoin. You run the risk of outsmarting yourself if you have too many addresses and no metadata describing them stored in your wallet’s interface, on a spreadsheet, or written down.
If you consolidate ALL of your accumulated UTXOs into one UTXO, the next time you transact with someone, they will be able to see the transaction input was a 10 BTC unspent UTXO.
Even though the United States no longer issues bills in $500 or $1,000 denominations, those notes are still considered legal tender.
In theory, you could walk into a store and purchase a pack of gum with a $1,000 bill if you had one. But, you never would. This logic is no different than spending a 10 BTC UTXO in a small transaction or conversion to fiat.
You’re basically telling the recipient or anyone with a blockchain explorer tool how much Bitcoin you have and the source of origination.
At the very least, make sure that you consolidate Bitcoin from each different source into different wallets and keep them segregated ideally with varying amounts.
Pro Tip: If you are a wholecoiner are consolidating UTXOs when you perceive fees to be low, consider splitting up your wallet transfers into smaller, more conspicuous amounts.
Any Donnie Brasco fans out there will remember Pacino showing Depp how a wiseguy carries a roll of money, “Always put a beaner on top.”
When it comes to spending Bitcoin, you don’t necessarily want to flash your 10 BTC UTXO to the recipient when you could use a 0.25 BTC UTXO to make the (0.015 BTC) transaction.
Best Practices for UTXO Management
UTXO Management is seldom discussed and a topic I struggled with early on.
You need to have a process in place to ensure you aren’t making a hasty, irreversible decision which can create significant financial (fees), security and privacy vulnerabilities.
Even though UTXO consolidation is as simple as generating a new address (same or different wallet) and creating a low priority (fee) transaction to “send Max” or “sweep” your Bitcoin balance to the new address…it’s still a component of a broader UTXO management strategy.
We thoroughly researched this topic and drew from personal experience to produce our definitive list of best practices for UTXO management. (ps – if you have something to add to the list please email us at hello@stratus.io)
- Grab a piece of paper and conduct a quick audit of your Bitcoin Wallets (and accounts).
- This includes exchanges (Coinbase), online wallets (MetaMask), mobile wallets (Trust), desktop wallets (Electrum), and hardware wallet devices (Ledger).
- Access each wallet (ideally w/ a VPN), one by one, making a note of the following:
- Was I able to login/access ‘x’ wallet and (if applicable) do I have the recovery seed, pin, passphrase, code etc backed up and secured OFFLINE?
- Note your total wallet balance which is the market value of the aggregated amount of Bitcoin assigned to each wallet address.
- Provide this list to your estate planning lawyers when setting up a trust to ensure your Bitcoin transfers when you die.
- Do you have multiple accounts within the same wallet?
- Do you have meta descriptions for each sub-account and each address noting the source of the funds (exchange/P2P) and/or a summary of the transaction?
- Which addresses have received Bitcoin from more than one transaction?
- Has a reused address received Bitcoin from different sources?
- Has a reused address received Bitcoin from different senders?
- Have you sent Bitcoin from a reused address to another address?
- Have any of the addresses that transacted with the re-used addresses transacted with any other Bitcoin addresses you control?
- *Note: If you answered ‘yes’ to the previous four questions you have a privacy and security vulnerability. All re-used addresses and any other addresses you control that transacted with these addresses are potential privacy vulnerabilities because they are now associated on the blockchain exposed to anyone with a block explorer who can connect the dots.
- Make an offline note or add a meta description to clearly identify the commingled addresses including the other impacted wallets that you control.
- These addresses are perfectly fine to transact with but we want to draw a line in the sand making sure they are completely isolated from your other addresses now and in the future to maintain maximum personal privacy.
- Verify how many UTXOs you have in your wallet(s). This is called your UTXO Count.
- Count the total number UTXOs in your wallet.
- How many are clean UTXOs?
- How many exposed UTXOs?
- How many UTXOs are leftover dust from a transaction?
- How many UTXOs are random dust sent to your wallet? (Note: if you find any UTXOs you don’t recognize, make sure you isolate, freeze, archive and report.)
Some wallets, like Electrum, have an easy to find itemization of your UTXOs. Other wallets may not be as user friendly and you’ll have to search each address on a blockchain explorer and manually count the number of outputs.
- Determine the amount of Bitcoin for each UTXO output and the destination address.
- 312 UTXOs totalling 10 BTC could be split into 5 (optimal) – 10 UTXOs of varying amounts within the same wallet. For example:
- (10 UTXOs each = 1 BTC)
- (1 UTXO = 2 BTC, 2 UTXOs = 0.5 BTC each, 7 UTXOs = 1 BTC each)
- (1 UTXO = 5 BTC, 2 UTXOs = 1 BTC each, 1 UTXO = 0.07 BTC, 1 UTXO = 0.3 BTC)
- Consider how you may spend these in the future and how much you’re willing to disclose to the recipient since they can see input’s value and the change output.
- If you’re switching wallet providers or closing an account use the ‘send max’ or ‘sweep’ option if available to make sure you don’t leave any dust behind.
- 312 UTXOs totalling 10 BTC could be split into 5 (optimal) – 10 UTXOs of varying amounts within the same wallet. For example:
- Identify and label 15-20 UTXOs max to consolidate at a time in a single transaction.
- These UTXO clusters should include UTXOs that add up to the target output amounts you identified in the previous step.
- Confirm that the UTXOs selected are clean and not exposed due to reusing addresses. Avoid including dust UTXOs unless you manually confirm their safety to avoid falling victim to a dusting attack.
- Generate a new address for each UTXO cluster to receive the output of the consolidation transaction. Use the most current, efficient and compatible output type like P2WPKH or P2TR to increase privacy while saving up to 38% on network fees.
- An optional passphrase creates a public address for each group of UTXOs as part of your strategy. This is an advanced strategy and requires safeguarding the passphrases if you need to recover a specific wallet.
- Note: if you’re transferring from a Legacy address to a more current format, limit your inputs to 3 max to reduce the risk of delays or errors due to incompatibility.
- If you’re consolidating to a multi-sig wallet, pre-consolidate your UTXOs to a new address first. On confirmation, send the consolidated UTXO to your multi-sig.
- Considerations for optimizing Network Fees:
- Check current network fees on mempool and compare current fee rate with previous rates to determine if you should consolidate now or wait.
- Weekends can be less congested and better for low priority transactions.
- Now you can create a transaction in your wallet to consolidate UTXOs.
- Select 15-20 clean UTXOs from your wallet.
- Verify the receiving address is correct before adding it to the transaction.
- Pro Tip: Even after you paste it into transaction field, verify the transaction. You could have a virus hiding on your computer waiting until an address starting with bc1 is copied so it can replaces the destination address with the attacker’s Bitcoin address.
- Set the network fee to ‘low priority’ or enter a specific number of sats/vByte based on the current lowest minimum rates you see on the mempool.
- Note: If you’re new here, consider sending 1 of the smaller UTXOs from your batch to test that the transaction completed. Sending 1 UTXO at a time to a new address is NOT consolidation. Multiple UTXOs must be added as inputs for the same transaction to produce a single output.
- Traders and Dollar Cost Averagers should preemptively consider their withdrawal frequency. Resisting the urge to transfer out every day or even once per week will result in less UTXOs and less fees in the long run but must be compared with custodial risk.
- Monthly transfers, for example, result in 12 UTXOs annually
- Fixed amount transfers or thresholds are another way to reduce your UTXO count. For example, delay transfers until you have accumulated 0.1 BTC. Ultimately this is your decision to make. DYOR
UTXOs on an Exchange vs. Cold Storage
Bitcoin bought and held on an exchange remains in a ‘pool’ until you transfer off exchange into self-custody.
It’s similar to how banks work, specifically the difference in using a bank vs. a piggy bank is similar to an exchange vs cold storage device. Here’s an example:
Bank Deposit
Let’s say you have $500 cash to deposit with your bank. After deposit, the teller places the 5 $100 notes into the cash drawer and the bank pools your money with all of the other deposits. Your 5 $100 bills are not reserved specifically for you. The guy standing in line behind you may request to withdraw $500, and the teller could give them the notes you just deposited. Your $500 is credited to your balance and an IOU is displayed as the total sum of your account balance. When you choose to withdraw $500, you receive 5 different $100 bills.
Piggy Bank Deposit
This time, instead of depositing your 5 C-notes at the bank let’s slide them into your piggy bank. When you’re ready to spend your saved $500, you simply open the piggy bank and pocket the same 5 $100 bills.
On-Exchange Custody
When you purchase Bitcoin, your exchange holds your crypto in their custody. If you DCA with a weekly buy, at the end of the year you DO NOT have 52 UTXOs on exchange. The exchange keeps a transaction record (for tax purposes) but a UTXO is only created for each withdrawal to an off-exchange wallet because you are not ‘spending’ the same UTXO created when you purchased the BTC. Similar to a bank, your Bitcoin is pooled together with everyone else and your account has an IOU from the exchange reflecting your balance.
Self Custody Wallet
If you had a weekly withdrawal schedule from the exchange, then at the end of the year you would have 52 UTXOs (1 UTXO for each withdrawal) in your cold wallet. You are a prime candidate for UTXO consolidation. Even if you withdraw once per month, consolidating 12 UTXOs into 3 is going to save on fees down the road.
Banks and Exchanges manage customer deposits similarly.
Whereas piggy banks and self-custodial hardware wallets store your deposits physically which is the essence of self-custody.
How do I Consolidate UTXOs on Ledger Live?
Let’s say you have private keys for Bitcoin (BTC) saved to your Ledger cold storage device.
- Open Ledger live and select the BTC ACCOUNT that has your UTXOs
- Go to ‘Receive’ tab and generate one (1) ‘receive’ address’ COPY THIS ADDRESS
- Open the ‘Send’ tab to select the address (from step 2) which will ‘receive’ the BTC.
- Select specific UTXOs using manual coin selection also called ‘coin control’ feature you want to send to the new address. You can repeat this process if you want to send varying quantities to the same or a different address.
- Enter the fee rate. Consolidations should have the LOWEST possible fee rate because it’s ok if the transaction sits in the mempool. 1 sat/vByte used to be common practice. In a high fee environment, you may have to pay more like 5-10 sat/vByte. Be patient.
- Once you confirm the correct receiving address and amount, Press Send.
- Confirm the transaction on your Ledger device with your PIN then check Ledger Live.
How do I Consolidate UTXOs on Coinbase?
Short answer: you can’t.
Remember, the Exchange balance that you see when you login references your trade confirmations and liability for the exchange to pay out from their treasury.
These confirmations are IOUs, not UTXOs. The CEX has an obligation to execute a transaction off-exchange which does not consume a UTXO input that Coinbase unlocks and on confirmation, the transaction locks one UTXO to your address.
Pro Tip: An exchange withdrawal to an external wallet of more than 0.5 BTC should be split up into varying sizes with delays between each transfer to increase your privacy.
If you have 1 BTC on exchange to withdraw here’s an example plan of action:
- Generate 4 new unique addresses from your wallet.
- 08:00am: Send 0.01 BTC to new address 1 as a test (wait for 6 confirmations)
- 12:00pm: Send 0.5 BTC to new address 2 (wait for 6 confirmations)
- 2:00pm: Send 0.25 BTC to new address 3
- 10:00pm: Send 0.24 BTC to new address 4 which completes your 1 BTC total transfer resulting in 4 UTXOs locked to your public key/public key hash/script hash.
Adjusting network fees when transferring BTC from a Coinbase account is not an option unless you’re using a Coinbase Wallet to customize the network fee but you still need to pay network fees to transfer crypto from Coinbase to the Coinbase Wallet.
If you’re uncomfortable keeping your Bitcoin on Coinbase, create a plan to withdraw at regular intervals but try to adjust timing and always use a fresh address to receive.
—In Summary—
You can clean up your wallet’s UTXO count by sending batches of Bitcoin to a different address that you manage. This is UTXO consolidation.
Regularly consolidating these UTXOs by sending smaller transactions to a secondary wallet address can preserve wealth, save on future fees, and help you transact more efficiently.
The riskiest position presently is having A LOT of transaction’s of smaller denominations (under $10, under $25, under $50).
Don’t just take our word for it. The unofficial recommendation from the r/bitcoin community is transferring 0.01 BTC at a minimum (1 million sats) to avoid getting crushed on fees or ending up with Bitcoin dust.
Given the current market conditions, if you’re transferring BTC from an exchange to your cold wallet (Bitbox02, Trezor, Jade, Coldcard) check out the math and consider the marginal cost of transacting with Bitcoin.
It’s all relative and you’re welcome to reach out to us with any questions (team@stratus.io)
Note: Stratus does NOT provide investment, legal or tax advice. All information in this article is for educational purposes and should not be interpreted as investment, legal or tax advice. The opinions expressed are those of the author for informational purposes and neither Stratus nor the author are liable for any errors, inaccuracies or omissions. Digital assets, such as cryptocurrencies or decentralized finance, present unique risks for investors. For investment, legal, tax, or other financial guidance you should consult your own advisor.