There are no penalties on withdrawals of Roth IRA contributions. But there's a 10% federal penalty tax on withdrawals of earnings. With a traditional IRA, there's a 10% federal penalty tax on withdrawals of both contributions and earnings.