Not all contributions to IRAs belong there. When a contribution is not permitted in an IRA, it is an excess contribution and needs to be fixed. Some excess contributions are easy to understand. Others may be a bit trickier to grasp. Here are 7 ways an excess IRA contribution can happen to you:

1. Blowing Past the Annual Limit

If you contribute more than the annual limit to an IRA for the year that will be an excess contribution. For 2018, the limit is $5,500 for those under age 50 and $6,500 for those who are age 50 or over. This may seem like an easy rule to follow. You may wonder who is going around contributing tens of thousands of dollars to IRAs in violation of the contribution limits and, in fact, most IRA custodians will not accept contributions over the yearly limit. However, an individual with multiple IRAs with different custodians could exceed the limit by contributing to each of them.

2. Insufficient Earned Income

A more frequent occurrence is an IRA owner not having sufficient earned income or taxable compensation to fund an IRA contribution for the year. While you can use a spouse’s taxable compensation to fund your IRA, you may not use a multitude of different income sources including social security, rental income and investment income. You may have a high income, but not be eligible to fund an IRA. If you go ahead anyway, the result is an excess IRA contribution.

3. Exceeding the Roth IRA Income Limits

A common cause of excess Roth IRA contributions is contributing in a year when income is too high. If your income fluctuates or you have unexpected income in the year, you are particularly vulnerable. Watch out for the annual income limits. For 2018, the ability to make a Roth IRA contribution will begin to phase out when Modified Adjusted Gross Income (MAGI) reaches $120,000 if you are single and $189,000 if you are married filing jointly. For traditional IRAs, there are no income limits for eligibility to contribute so this is never a problem.

4. Too Old for a Traditional IRA

When you reach the year that you attain age 70 ½, you can no longer contribute to your Traditional IRA. You may be surprised to hear this because you may assume that that as long as you have taxable compensation you can continue to contribute to your IRA. After all, you may be able continue to contribute to your 401(k) as long as you are still working. The IRA rules do not work that way. As unfair as it may seem, contributions made fora year when you are age 70½ or older are excess contributions. There are no age limits for Roth IRA contributions.

5. Failed Rollovers

You may be surprised to know that a failed attempt to make a rollover can result in an excess contribution. How can this happen? Well, there are a variety of ways you can end up in this position. One possibility would be the violation of one of the rollover rules. If you mistakenly attempt a rollover after the 60-day rollover period has already expired or if you violate the once-per year rollover rule, you will end up with an excess contribution instead of rollover in your IRA.

6. RMDs Not Eligible for Rollover

If you are older, you may be at greater risk of excess contribution due to rollover mistakes. This is because of the rule that says that the required minimum distribution (RMD) for the year cannot be rolled over. In fact, the RMD for the IRA must be taken before any of the funds in the IRA are eligible for rollover. For example, an RMD must be taken before doing a Roth IRA conversion. If you mistakenly roll over your RMD, you will end up with an excess contribution.

7. Inherited IRA Mistakes

If you inherit an IRA from someone who is not your spouse, you may not contribute to that inherited IRA or combine it with your own IRA. If you do, you will have an excess contribution.

The Fix for Excess Contributions

Now you know what can cause excess IRA contributions. That is the first step in avoiding them. If despite your best efforts, an excess contribution occurs, the bad news is that the problem will not go away or fix itself. An excess contribution will be subject to penalties each year it remains in the IRA. The good news is that excess contributions can be corrected and often without penalty. For the right fix for your situation be sure to talk to a knowledgeable tax or financial advisor.