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. It is not a dump question because it concerns your most important invisible financial partner:the taxman. The answer depends of the legal status of this account. If your account is 401(k) in USA or RRSP in Canada, the answer is no. No capital gain taxes if your money is registered for retirement. You'll pay later on, as taxes are like death, unavoidable. Yes capital gain if your money is not in an retirement account. As soon as you realize a capital gain, it becomes taxable in that fiscal year. "Taxes are triggered when you sell the individual stock.      The IRS doesn't care which of your accounts the money is in.  They view all your bank and brokerage accounts as if they are one big account mashed together.   That kind of lumping is standard accounting practice for businesses. P/L, balance sheets, cash flow statements etc. will clump cash accounts as ""cash"".  Taxes are also triggered when they pay you a dividend.  That's why ETFs are preferable to mutual funds; ETFs automatically fold the dividends back into the ETF's value, so it doesn't cause a taxable event.  Less paperwork.  None of the above applies to retirement accounts.  They are special.  You don't report activity inside retirement accounts, because it would be very hard for regular folk to do that reporting, so that would discourage them from taking IRAs.   Taxes are paid at withdrawal time (or in Roth's, never.)"
If you want to invest in the stock market, whether over a shorter period of 1 to 2 years or over a longer period of 10 or 20 years or longer you need to take some precautions and have a written investment plan with a risk management strategy incorporated in your plan. Others have said that 1 to 2 years is too short to invest in the stock market as the stock market can have a correction and fall by 50%. But it doesn't matter if you invest for 1 year or if you invest for 50 years, the stock market can still fall by 50% just before you plan to withdraw your funds. What you need to figure out is a way to get out before the market falls by 40% to 50%. A simple way to do this is to use technical indicators to warn you when a market trend is starting to change and that it is time to get out of the market. Two simple indicators you can use on a market index are the Rate of Change (ROC) indicator and the 100 week Moving Average (MA). Below is a 10 year weekly chart of the S&P500 with these two indicators charted. They show good times to get into the market and good times to get out.  If you are using the 100 week MA you would buy in when the price crosses above the MA line and sell when the price crosses below the MA line. If you are using the ROC indicator you would buy in when the ROC indicator crosses above the zero line and sell when the ROC indicator crosses below the zero line. So your investment plan could be to buy an Index ETF representing the S&P500 when the ROC moves above zero and sell when it crosses below zero. You can also place a trailing stop loss of 10% to protect you in case of a sudden fall over a couple of days. You can manage your investments in as little as 10 minutes per week by checking the chart once per week and adjusting your stop loss order.  If you want to progressively add to your investment each month you could check the charts and only add any new funds if both the ROC is above zero and sloping upwards. Another option for adding new funds could be if the price is above the MA and moving further away from the MA. All these rules should be incorporated into your investment plan so that you are not basing your decisions based on emotions. There are many other Technical Analysis Indicators you could also learn about to make better educated decisions about your stock market investments. However, what I have provided here is enough for anyone to test over different indexes and time frames and do their own paper trading on to gain some confidence before placing any real money on the table. I'd say that because you are young, even the 'riskier' asset classes are not as risky as you think, for example, assuming conservatively that you only have 30 years to retirement, investing in stocks index might be a good option. In short term share prices are volatile and prone to bull and bear cycles but given enough time they have pretty much always outperformed any other asset classes. The key is not to be desperate to withdraw when an index is at the bottom. Some cycles can be 20 years, so when you need get nearer retirement you will need to diversify so that you can survive without selling low. Just make sure to pick an index tracker with low fees and you should be good to go. A word of warning is of course past performance is no indication of a future one, but if a diversified index tracker goes belly up for 20+ years, we are talking global calamity, in which case buy a shotgun and some canned food ;) "1) Usually, the choice between Traditional vs. Roth is whether you believe that your tax rate will be higher or lower in the future than it is now. Your income is probably in the 25% bracket now. It's hard to say whether that should be considered ""high"" or ""low"". Some people advocate Roth only for 15% bracket; but your income would probably go into higher brackets in the future, so Roth may be preferable from this point of view. Roth IRA also has another advantage that the principal of contributions can be taken out at any time without tax or penalty, so it can serve as an emergency fund just as well as money in taxable accounts. Given that you may not have a lot of money saved up right now, this is useful. 2) In a sense, it's nice to have a mix of Traditional and Roth when you withdraw to hedge against uncertainty in future tax rates and have the option of choosing whichever one is advantageous to withdraw when you need to withdraw. That said, you will likely have many years of access to a 401k and high income in your future working years, in which you can contribute to a Traditional 401k (or if no access to 401k, then Traditional IRA), so a mix will almost certainly happen even if you go all Roth IRA now. 3) I think that depends on you, whether you are a hands-on or hands-off kind of investor." "It is important to remember that the stock price in principle reflects the value of the company, so the market cap should drop upon issuance of the the dividend. However, the above reasoning neglects to consider taxes, which make the question a bit more interesting. The key fact is that different investors are going to get taxed on the dividend to varying degrees, ranging from 20% for qualified dividends in the USA for a high-income individual in a taxable account (and even worse for non-qualified dividends) to 0% for tax-exempt nonprofits, retirement accounts, and low-income individuals. The high-tax investors are going to be a bit averse to paying tax on that dividend, whereas the tax-free investors are not. Hence in a tax-rational market the tax-free investors are going to be the ones buying right before a dividend and the tax-paying investors will be buying right afterwards. Tax-exempt investors could in principle make some amount of money buying dividends to keep them off the tax-paying investors' books.  (Of course, the strategy could backfire if too many people did it all at once.) That said, the tax-payers have the tax disincentive to prevent them from fully exploiting the opposite strategy of selling just before a dividend.  In particular, they are subject to capital gains tax when they sell at a profit (unless they have enough compensating capital losses), and it is to their after-tax profit to defer taxation by not trading. That said, the stock market has well-known irrationality when it comes to considering tax consequences, so logic based on assumed rationality of the market does not always apply to the extent one would expect.   The foremost example of tax-irrationality is the so-called ""dividend paradox"", which basically states that corporations should favor stock buybacks (or perhaps loan repayment) to the complete exclusion of dividends because capital gains are taxed less harshly than dividends in a variety of ways, some of which are subtle: 1) Historically (although not currently in the USA for qualified dividends) the tax rate was higher for dividends.  (In Canada, for example, dividends are taxed at twice the rate of capital gains.) 2) If you die holding appreciated stock then you (meaning your heirs) completely escape US the capital gains tax on the accrual during your lifetime. 3) Capital gains tax can be deferred by simply not selling.  In comparison to dividends, this is roughly equivalent to getting a tax-free loan from the government which is invested for profit and paid at a later date after inflation has eaten away at the real value of the loan.  For example, if all your stock investments increase by 10%/year but you sell every year, in a high-tax bracket situation you're total after-tax return will be only 8% per year.  In contrast, if you hold the same investments for many many years and then sell, your total return will be nearly 10% per year, because you only pay 20% once (at the end). 4) A capital gain can often be neutralized by a capital loss in another stock, so that no tax results.  If you loose money on a stock that is paying dividends, you're still going to have to pay tax on that dividend.  There are companies that borrow money to pay out that taxable-dividend each quarter, which seems like gross tax malpractice on the part of the CFO. (If the dividend paradox doesn't make sense, first consider the case that you owned ALL the shares of a company.  It wouldn't matter to you at all on a pre-tax basis whether you got a $1000 company buyback or a $1000 dividend, because after the buyback/dividend you'd still own the entire company and $1000.  The number of shares would be reduced, but objecting that you owned fewer shares after the buyback would be like saying you have become shorter if your height is measured in inches rather than centimeters.) [Of course, in the case of many shareholders you can get burned by failing to sell into the buyback when the share price is too high, but that is another matter.]" "Long-term capital gains, which is often the main element of investment income for investors who are not high-frequency day traders, are taxed at a single rate that is often substantially below the marginal rate they would otherwise be taxed at, particularly for wealthy individuals. There are a few rationales behind this treatment; the two most common are that the government wants to encourage long-term investments (as opposed to short-term speculation), and that capital gains are a kind of double taxation (from one point of view) as they are coming from income that has already been taxed once before (as wage or ordinary income).  The latter in particular is highly controversial, but this is one of the more divisive political issues in the taxation front - one party would eliminate the tax entirely, the other would eliminate the difference. For most individuals, the majority of their long-term capital gains are taxed at 15% up to almost half of a million dollars total AGI, which is a fairly low rate - it's equivalent to the rate a taxpayer would pay on up to $37,000 in wage income (after deductions/exemptions/etc.).  You can see from this table in Wikipedia that it is much preferred to pay long-term capital gains rates when possible - at every point it's at least 10% lower than the tax rate for ordinary income. Ordinary income includes wages and many other sources of income - basically, anything that is not long term capital gains. Wage income is taxed at this rate, and also subject to some non-income-tax taxes (FICA and Medicare in particular); other sources of ordinary income are not subject to those taxes (including IRA income).  Short term capital gains are generally included in this bucket. Qualified Dividends are treated similarly to long-term capital gains (as they are of a similar nature), and taxed accordingly. The ""Net Investment Tax"" is basically applying the Medicare tax to investment income for higher-income taxpayers ($125k single, $250k joint).  It's on top of capital gains rates for them.  It came about through the Affordable Care Act, and is one of the first provisions likely to be repealed by the new Congress (as it can be repealed through the budgeting provision).  It seems likely that 2017 taxes will not contain this provision." My understanding is that when you die, the stocks are sold and then   the money is given to the beneficiary or the stock is repurchased in   the beneficiaries name. This is wrong, and the conclusion you draw from michael's otherwise correct answer follows your false assumption.  You seem to understand the Estate Tax federal threshold. Jersey would have its own, and I have no idea how it works there. If the decedent happened to trade in the tax year prior to passing, normal tax rules apply.  Now, if the executor chooses to sell off and liquidate the estate to cash, there's no further taxable gain, a $5M portfolio can have millions in long term gain, but the step up basis pretty much negates all of it.  If that's the case, the beneficiaries aren't likely to repurchase those shares, in fact, they might not even know what the list of stocks was, unless they sifted through the asset list. But, that sale was unnecessary, assets can be divvied up and distributed in-kind, each beneficiary getting their fraction of the number of shares of each stock. And then your share of the $5M has a stepped up basis, meaning if you sell that day, your gains are near zero. You might owe a few dollars for whatever the share move in the time passing between the step up date and date you sell.  I hope that clarifies your misunderstanding.  By the way, the IRS is just an intermediary. It's congress that writes the laws, including the tangled web of tax code. The IRS is the moral equivalent of a great customer service team working for a company we don't care for. Does my prior answer here to a slightly different question help at all? Are there capital gains taxes or dividend taxes if I invest in the U.S. stock market from outside of the country? Roth IRAs divide your withdrawal into 3 categories: Contributions, Conversions, and Earnings. This is significant, because each have different tax consequences and the order of withdrawal is dictated by tax law. You can withdraw your contributions in less than 5 years for any reason (home buyer or not). You cannot withdraw your conversions or earnings without waiting 5 years unless you pay the 10% penalty.  The home buyer exemption is only after the 5 years are met. Further detail found on the motley fool: home purchase exemption, distributions, early withdrawals.