You’ll pay tax on any income you earn on the funds you hold in a brokerage account. So, if you sell a security you hold in the brokerage account for a profit, you’ll need to pay income taxes on the capital gain (the purchase price of the asset minus the sales price and any fees). You don’t need to pay taxes on gains until the assets are sold.