Can I contribute to an IRA from investment income?
"Your contributions must come from ""compensation"". Quoting IRS Publication 590 on IRAs, ""Generally, compensation is what you earn from working."" So it is unlikely that your stock sale proceeds, if they're your sole source of income, can be used to fund your IRA. If you do have W-2 income, or self employment income, you can use the proceeds of a stock sale to fund an IRA. The IRS doesn't care where the exact dollars that go into the IRA come from, only that you earned (from working) at least as much as you contributed." Traditional IRA contributions can be made if you  have compensation and the amount of the contribution is limited to the smaller of your compensation and $5500 ($6000 if age 50 or more). Note that compensation (which generally means earnings form working) is not just what appears on a W-2 form as salary or wages; it can be  earnings from self-employment too, as well as commissions, alimony etc (but not earnings from property, pensions and annuities, certain types of partnership income) You must also not have attained age 70.5 in the year for which the contribution is made.  Even if you don't have any compensation of your own, you can nonetheless make a Traditional IRA contribution if your spouse has compensation as long as you are filing a joint tax return with your spouse. For spouses filing a joint return, the  limits are still the same $5500/$6000 for each spouse, and the sum total of Traditional IRA contributions for both spouses also must not exceed the sum total of earned income of both spouses. The age limits etc are all still applicable. Note that none of this says anything about whether the contributions are deductible.  Everyone meeting the above requirements is eligible to make contributions to a Traditional IRA; whether the contributions can be deducted from current income depends on the income:  those with high enough incomes cannot deduct the contribution. This is different from Roth IRAs to which people with high incomes are not permitted to make a contribution at all. Finally, the source of the cash you contribute to the IRA can be the proceeds of the stock sale if you like; you are not required to prove that the cash received from compensation is what you sent to the IRA custodian. Read Publication 590 (available on the IRS website www.irs.gov) if you need an authoritative reference.
"The money you invested in your Roth was taxed as income when you filed your income tax.   A Roth contribution is ""post-tax"" as opposed to a standard IRA or 401k contribution which are ""pre-tax"". Pre-tax contributions lower your taxable income for the year. In example, you had income of $100,000 and made a standard IRA contribution of $5000. Your taxable income would be $95,000. In the case of a Roth contribution, the same $5000 investment would not reduce your taxable income for the year." According to Publication 590, broker's commissions for stock transactions within an IRA cannot be paid in addition to the IRA contribution(s), but they are deductible as part of the contribution, or add to the basis if you are making a nondeductible contribution to a Traditional IRA. (Top of Page 10, and Page 12, column 1, in the 2012 edition of Pub 590). On the other hand, trustees'  administrative fees can be paid from outside the IRA if they are billed separately, and are even deductible as a Miscellaneous Deduction on Schedule A of your income tax return (subject to the 2% of AGI threshold).  A long time ago, when my IRA account balances were much smaller, I used to get a bill from my IRA custodian for a $20 annual administrative fee which I paid separately (but never got to deduct due to the 2% threshold). My custodian also allowed  the option of doing nothing in which case the $20 would be collected from (and thus reduce) the amount of money in my IRA.  Note that this does not apply to the expenses charged by the mutual funds that you might have in your IRA; these expenses are treated the same as brokerage commissions and must be paid from within the IRA. To determine how much you can contribute to a regular and roth IRA you have to calculate your compensation: What Is Compensation?  Generally, compensation is what you earn from   working. For a summary of what compensation does and does not include,   see Table 1-1. Compensation includes all of the items discussed next   (even if you have more than one type).Wages, salaries, etc. Wages,   salaries, tips, professional fees, bonuses, and other amounts you   receive for provid-ing personal services are compensation. The IRS   treats as compensation any amount properly shown in box 1 (Wages,   tips, other compensation) of Form W-2, Wage and Tax Statement,   provided that amount is reduced by any amount properly shown in box 11   (Nonqualified plans). Scholarship and fellowship payments are   compen-sation for IRA purposes only if shown in box 1 of Form   W-2. It a also includes commissions, self-employment income, and alimony an non-taxable combat pay. For most people it is what i in box 1 of the W-2. For the example in the question. If the sum of Box 1's equals $3,200 that is the maximum you can contribute to all your IRAs (regular and Roth). The funds can come from anywhere. It is not related to your net check. The money can be from savings, gifts, parents, grandparents... The IRS doesn't care about the source of the funds, only that you don't over contribute. Of course the calculation is more complex if the person is married, and if they have access to a retirement account. First of all an IRA is a type of account that says nothing about how your money is invested. It seems like you are trying to compare an IRA with a market ETF  (like Vanguard Total Market Admiral VTSAX), but the reality is that you can have both. Depending on your IRA some of the investment options may be limited, but you will probably be able to find some version of a passive fund following an index you are interested in. The IRA account is tax advantaged, but you may invest the money in your IRA in an ETF.  As for how often a non-IRA account is taxed and how much, that depends on how often you sell. If you park your money in an ETF and do not sell, the IRS will not claim any taxes from it. The taxable event happens when you sell. But if you gain $1000 in a year and a day and you decide to sell, you will owe $150 (assuming 15% capital gains tax), bringing your earnings down to $850. If your investments go poorly and you lose money, there will be no capital gains tax to pay. You can use a Roth IRA for retirement and you can still withdraw all of your contributions at any time. You can also withdraw $10,000 worth of the earnings in your Roth IRA for a first-time home purchase. You can also withdraw for unreimbursed medical expenses and qualified education expenses. Full details are available in IRS publication 590.  There is a limit of $5,500 for contributions in 2016 ($6,500 if you're over 50) as long as your adjusted gross income is below a certain level. You can still make a contribution for the previous tax year until the filing deadline (usually April 15). Making or losing income (via selling shares) is the taxable event, not moving the income you made to and from an account.  The only exception would be a special account such as an IRA, and then there would be rules specific to that account structure about when you can withdraw money and what the tax consequences are. "IRA contribution must be from your earned income in the sense that you cannot contribute to IRA more than you have in earned income. If all your income is capital gains - you cannot contribute anything to IRA. Once you're within the income limit restriction, it doesn't matter what other money you have, because as you said - once in your account, its all just money. But what you're describing is basically ""I deposit $850 from my salary into an IRA and then go pay for my gas with the $850 I have from the capital gains"", so you're not paying any less taxes here. If it makes you feel any better, you can describe it to yourself the way you did. It doesn't really matter." From your updated information, it seems like you are not eligible to deduct a Traditional IRA contribution, at your income since you are covered by a 401(k) at work. Therefore, contributing to a Roth IRA is the only real option in terms of IRAs. However, if you want to have some pre-tax contributions, you can change some or all of your Roth 401(k) to Traditional 401(k). Since you say you are a student, perhaps you should look carefully at the requirements for contributing to an IRA, whether Traditional or Roth. Unless Congress changed the law recently, one has to have earned income to contribute to an IRA.  So if you were a teaching or research asssistant receiving W-2 wages while completing your Master's degree, you are eligible, but if you had a fellowship you are not eligible (unless you had other income, whether W-2 wages or self-employment income reported on Schedule C).  The amount that one can contribute is the smaller of your earned income and $5000 ($6000 for 50 and older people). Luke, I'd like to point out some additional benefits of the Roth IRA accounts 1) Going Roth, you can effectively increase the amount of your contribution to your IRA account. In your example, you are assuming that your contribution to Roth IRA is in fact $ 85 ($100 less $ 15 tax paid). In reality, albeit more costly, Roth IRA allows you to contribute full $ 100 ($117.65 less $ 17.65 tax incurred.) Using this method you can in fact grow your tax-free funds to $ 1.006.27 over 30 years. The larger you effective tax rate is, the larger will be the difference between your maximum effective Traditional vs Roth IRA contribution will be. 2) Should you need to access your IRA funds in case of emergency (unqualified event of not buying your first home, nor paying for your college education), Roth IRA account contributions can be withdrawn without incurring the 10% penalty charge, that would be imposed on your unqualified Traditional IRA distribution. 3) As other contributors noted it's hard to believe that lower US tax rates would prevail. Chances are you will be contributing to Traditional 401k later throughout your work life. Having a Roth IRA account would afford you a tax diversification needed to hedge against possible tax rate hikes coming in the future. Considering the gloomy future of the Social Security funding, and ever-growing US national debt, can we really expect for there to not be any tax rate increases in the next 20-40 years?! By the way, as others pointed out your effective tax rate will always be lower than your marginal tax bracket. If you are working for a small company, the expense ratios on the funds in the 401k account are likely much higher than you can get with a similar IRA. Depending on your income, whether you are married and want to contribute to a spouse's IRA, your limit on what can be contributed to an IRA may vary, but the compelling reason to contribute to a 401k is that the contribution limit is higher ($17,500 vs $5,500 for people on the lower end of the income scale) so you may need to contribute to a 401k to meet your retirement savings goals. You have many options, and there is no one-size-fits-all recommendation. You can contribute to your IRA in addition to your 401(k), but because you have that 401(k), it is not tax-deductable. So there is little advantage in putting money in the IRA compared to saving it in a personal investment account, where you keep full control over it. It does, however, open the option to do a backdoor-rollover from that IRA to a Roth IRA, which is a good idea to have; you will not pay any taxes if you do that conversion, if the money in the IRA was not tax deducted (which it isn't as you have the 401(k)). You can also contribute to a Roth IRA directly, if you are under the income limits for that (193k$ for married, I think, not sure for single). If this is the case, you don't need to take the detour through the IRA with the backdoor-rollover. Main advantage for Roth is that gains are tax free. There are many other answers here that give details on where to save if you have more money to save. In a nutshell, In between is 'pay off all high-interest debt', I think right after 1. - if you have any. 'High-Interest' means anything that costs more interest than you can expect when investing. Whether or not you can deposit to a Roth IRA, you are able to convert those deposits to A Roth account. In effect, you pay the tax going in (as with the regular brokerage account) but no tax on growth when withdrawn.  The non-deductible IRA, on its own, holds little appeal, in comparison. One can have a self-directed IRA. This is not like a Schwab, eTrade, etc IRA. It has a special type of custodian that knows how to manage it.  I became aware of such an account as a way to purchase a rental property. There were two issues. The type of property I looked at wasn't anything a bank was willing to finance. And the rules regarding self dealing added a potential layer of expense as I technically could not perform the simplest of things for the property.  For you, the obstacle looks like self-dealing. Any IRA can only be funded with cash or transfer/conversion from another IRA/401(k). I don't know how you would get the intelligent property into the IRA in the first place. Once you own a patent, or anything else, you can't sell it into the IRA.  It's at times like this that member littleadv would suggest this is the time to talk to a pro before you do anything hazardous to your wealth. "Given the income level of my family (married filing jointly status),   IRAs aren't really an option. We're past the Roth IRA limits and get   no deduction for a regular IRA. There's something called the ""backdoor Roth IRA"". You can contribute to a Traditional IRA and then immediately convert it to a Roth IRA. Assuming that you don't have any existing money in Traditional IRAs, this is exactly identical to a Roth IRA contribution."