When you invest money in a taxable account, such as a standard investment account, you may have to pay capital gains tax when you sell your investments. However, there are accounts such as retirement accounts where qualified withdrawals may be tax-free. It’s crucial to seek advice from a financial or tax advisor for more personalized guidance on your specific situation.