The 20% penalty is only for early withdrawals from retirement accounts that are tax-deferred, such as traditional 401(k)s and IRAs. If you take money out of a Roth IRA or Roth 401(k), there will be no penalties because those contributions were already made with after-tax dollars (and are therefore not tax-deferred).