If you have a 401(k), IRA or other retirement account, the new retirement law lets you take out up to $5,000 following the birth or adoption of a child without paying the usual 10% early-withdrawal penalty. (You’ll still owe income tax on the distribution, though, unless you repay the funds.) If you’re married, each spouse can withdraw $5,000 from his or her own account, penalty-free. Although using retirement funds for child birth or adoption expenses obviously reduces the amount of money available in retirement, lawmakers hope this new option will encourage younger workers to start funding 401(k)s and IRAs earlier.

You have one year from the date your child is born or the adoption is finalized to withdraw the funds from your retirement account without paying the 10% penalty. You can also put the money back into your retirement account at a later date. Recontributed amounts are treated as a rollover and not included in taxable income.

If you’re adopting, penalty-free withdrawals are generally allowed if the adoptee is younger than 18 years old or is physically or mentally incapable of self-support. However, the penalty will still apply if you’re adopting your spouse’s child so this is not available for stepparent adoptions.