Index funds are... tax friendly, allowing investors to defer the realization of capital gains or avoid them completely if the shares are later bequeathed. To the extent that the long-run uptrend in stock prices continues, switching from security to security involves realizing capital gains that are subject to tax. Taxes are a crucially important financial consideration because the earlier realization of capital gains will substantially reduce net returns.
Burton Malkiel