Share your insights or perspective on the financial matter presented in the input.

Stocks taxed just for selling, or just when withdrawing?
Outside of a tax sheltered IRA or 401(k) type of account your transactions may trigger tax liability.  However, transactions are not taxed immediately at the time of the transaction; and up to a certain limits capital gains can be offset by capital losses which can mitigate your liability at tax time.  Also, remember that dividend receipts are taxable income as well. As others have said, this has nothing to do with whether or not money has been moved out of the account.