The amount that an individual is permitted to contribute to a Roth IRA depends on the individual’s IRS filing status and salary range for the tax year the contribution is made. If an individual’s modified adjusted gross income (or “MAGI” as defined below) for the tax year the contribution is made is within a certain range, the tax code rules reduce the amount that an individual is permitted to contribute to a Roth IRA for that year, based on the individual’s MAGI. The individual may contribute to the Roth IRA for the year at the reduced level while deciding if another type of retirement account would provide a better arrangement. If the individual’s MAGI for the year exceeds the phase-out range, the individual is not permitted to contribute to a Roth IRA at all for the year. An individual may become subject to these limitations for a tax year, for example, if the individual receives a raise or promotion during the year.
Read more about phase out here: https://www.irs.gov/publications/p590a/ch02.html