While everyone is generally subject to the same federal tax laws regardless of where they live, there’s broad variation in how states tax their residents and to what degree. Some have no income tax at all, while others treat certain types of income differently. For instance, some don’t tax Social Security income.

For retirees, state of residence can make a big difference when it comes to how much of their income goes to taxes. In addition to some states not taxing Social Security, others don’t tax income from retirement accounts such as 401(k) plans, individual retirement accounts and pensions.

The chart below shows how each state ranks.

Dark blue = most tax-friendly
Light blue = tax-friendly
White = mixed
Peach = not tax-friendly
Red = least tax-friendly

For details on each state, visit the full Kiplinger map.

More from Personal Finance:
If any of these habits seem familiar, now’s the time to change
Take this key step to strengthen your retirement savings in 2019
Not just student loans: Millennials are also loading up on this kind of debt
[null, {"document_url": "http://financialconsultant.blog/here-are-the-best-and-worst-states-for-taxes/", "unformatted_src": "https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2018/02/23/105025688-GettyImages-81859923.1910x1000.jpg", "src": "https://fm.cnbc.com/applications/cnbc.com/resources/img/editorial/2018/02/23/105025688-GettyImages-81859923.1910x1000.jpg", "formatted_filename": "GettyImages"}, null, {"document_url": "http://financialconsultant.blog/here-are-the-best-and-worst-states-for-taxes/", "unformatted_src": "http://financialconsultant.blog/wp-content/themes/socialize/lib/images/footer-speech-bubbles.png", "src": "http://financialconsultant.blog/wp-content/themes/socialize/lib/images/footer-speech-bubbles.png", "formatted_filename": "footer speech bubbles", "rendered_width": 99, "rendered_height": 22}, null]