Since Devs change jobs every few years now: 401k or Roth?
First thing I want to say is that it&#x27;s very easy for technical people to frame this as a technical issue rather than an emotional issue.  The evidence is overwhelming that wealth building is an emotional issue.  So if you&#x27;re not paying attention to that side of the equation, all this tax stuff really doesn&#x27;t matter.  I&#x27;ll get back to this later and explain the four account types now.<p>Employer:
Traditional 401k (pre tax), Roth 401k (after tax)<p>Personal:
Traditional IRA (pre tax), Roth IRA (after tax)<p>These are tax designations, not investment types.<p>Roth means after tax dollars (more money up front).  Traditional is pre tax dollars (you get pay more later).  Both <i>grow</i> tax free, but with the traditional withdrawals count as income so they are taxed according to that tax year.<p>401k has a contribution limit is $18k &#x2F; year.
IRA has a contribution limit of $5500 &#x2F; year.<p>$23.5k &#x2F; year total right now for somebody under 55.<p>If you make enough &#x2F; spend little enough that you can put the maximum dollars under the shelter, my suggestion is to go Roth 401k and Roth IRA or backdoor IRA.  Over a 30 year period, the additional dollars under Roth will make up for most tax percentage differences, so it&#x27;s a decent bet.  Roth is the best way to max dollars under the tax shelter, and the tax shelter is hugely profitable.  Also, if you go Roth, your retirement balance will be the real balance, not some fake number that is still subject to unknown future taxation.<p>If you can&#x27;t max the dollars, then it doesn&#x27;t matter as much if you pick Roth or Traditional.  Yes, you have to make a call about what tax rates will be now vs. in the future, but how much money you put into the account and if you stay steady with low cost investments will matter more.  So I wouldn&#x27;t focus on the tax issue.  I&#x27;d focus on how you earn enough &#x2F; spend less to be able to max both contributions so that the tax issue matters less than the opportunity cost of having investments outside the tax shelter.<p>If your employer doesn&#x27;t offer a retirement plan, you can usually write off a traditional IRA contribution on your taxes.  However, I&#x27;d recommend you do a Roth IRA instead or avoid this writeoff so that you can do the back door roth mentioned in the next paragraph.<p>If you make too much for a Roth IRA, you can do a back door roth ira.<p>Get a tax guy for this.  It can get complicated the IRS is a headache.  It&#x27;s worth it to pay for a tax guy.<p>Do this by funding a traditional IRA then converting it to a roth IRA.  The conversion has no income limit - that&#x27;s why this is legally possible.  This gets more complicated if you have traditional IRA money, because they don&#x27;t let you pick which dollars you&#x27;re converting.  The cleanest way is to convert all of the money at once, but you will have a big tax bill if you do this, so you need the cash saved up OUTSIDE the account.  If you pay the taxes with money from the account, there&#x27;s no point doing it.  When you convert it, it&#x27;s counted as income -- you have to pay the taxes at your current tax rate, and that may bump you into a higher tax bracket, so you might not want to convert it all at once to avoid those higher taxes.  If you know you&#x27;re going to live in a lower tax state soon, it is probably wise to wait until you fall under the tax laws of that state to do the conversion... but remember ,this is most valuable while you&#x27;re young, so when I say wait, I mean 2 years, not 20.  It can be a hairy calculation.  The taxes you pay are, in effect, shoving more money under the tax free growth umbrella.<p>Most 401ks offer mediocre to bad investment options.  This sucks, but contribute anyway b&#x2F;c the tax shelter is fabulous, and later you&#x27;ll roll the money over into an IRA where you can pick good stuff.  I suggest go an indexing route like Betterment.<p>Allright, so those are the tax mechanics.  But they don&#x27;t matter if you don&#x27;t actually save the money, and saving the money is highly dependent on your emotions and habits.<p>- Do you have habits that are coping mechanism connected to spending?
- Are you surrounded by people in BMWs who make you feel poor?
- Do you regularly read about investing and spend time planning your investing?
- Do you have a plan for career advancement?
- Do you have mentors for career advancement?
- Do you keep a monthly budget and check your spending against your plans?
- Do you know your retirement date?<p>I&#x27;m asking all these things because they are more important than the (theoretical) mechanics of the money.  Engineers love to believe a spreadsheet showing how their 30 year 4% mortgage is hedged well against their predicted 8% portfolio to make them an extra $150k over 30 years, but the truth is that Americans suck at saving and generally don&#x27;t save, so the hedge never happens and the spreadsheet was a waste of time.  Also, maintaining the mortgage can put enough pressure on someone that they keep the paycheck instead of starting a business, so he earned a fraction of what he would have if he&#x27;d tried a startup.  The decision to lower financial risk to start a company has a hard-to-calculate gain.  We tend to avoid it and instead focus on things we can calculate.<p>If you spend some time reading about personal finance and psych, you can learn how to be a happier person while spending less, and this will matter more for your retirement than 401k vs. IRA and Traditional vs Roth.<p>I recommend you invest some time and money in some good books &#x2F; audio books.  They will pay themselves back 1000X, literally.<p>1.  Dave Ramsey&#x27;s Total Money Makeover
2.  The Millionaire Nextdoor (and the Millionaire Mind sometime later)
3.  The Little Book of Common Sense Investing
4.  <a href="http:&#x2F;&#x2F;www.mrmoneymustache.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.mrmoneymustache.com&#x2F;</a>
5.  <a href="http:&#x2F;&#x2F;earlyretirementextreme.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;earlyretirementextreme.com&#x2F;</a>
6.  Predictably Irrational
7.  The Power of Habit<p>Of course, tax sheltered retirement accounts aren&#x27;t the only option planning for the future.  But they are a decent insurance plan.  As you read more about personal finance, you&#x27;ll see some of the other options for your savings (education, business), and you&#x27;ll have to make a call about how you want to spread your risk.  good luck.