Closing accounts can be done by recording the closing transaction(s) that occurred in the account. Record a closing balance transaction to zero out the account's balance. For investment accounts, you can record position adjustment transactions to close out any holdings in the account.
Closing balance transaction:
Determine the day that the account was closed and the balance right before the account was closed.
- Create a new transaction in the account.
 - Set the transaction's date to the day that the account was closed
 - Set the transaction type to "Balance Adjustment".
 - Set the amount to the inverse of the account's existing balance resulting in a zero balance.
 
                                
                                Note:
                                You can also add a Memo or fill in other values for the adjustment transaction as desired.
                            
                                
                                Tip:
                                Hide accounts no longer in use instead of deleting then.