 you should receive a tax document, a 1099, that would identify the dividend income that you received. And that would be payable when you file your taxes. So if you have not actually been declaring that, you really need to do so. So you pay the tax due on dividends when you file your taxes for the preceding year. But you don't pay capital gains tax on the position until you sell it.