How the Closer Connection Exception Saves You From US Residency Taxes
I remember the exact moment I thought I’d have to pay US income tax on my entire freelance income, despite spending only 140 days a year in the States. I was sitting in a coffee shop in Lisbon, staring at the Substantial Presence Test worksheet, and my stomach dropped. That’s when I first stumbled on the closer connection exception to US residency—a little-known IRS rule that saved me from a massive tax bill. In short, this exception lets you avoid being treated as a US resident for tax purposes, even if you spend a decent chunk of time in the country, as long as you can prove your life is truly anchored elsewhere. The stake? For someone like me, it meant the difference between paying US taxes on global income versus only US-sourced income. For you, it could mean thousands of dollars kept in your pocket—or a costly mistake if you ignore it.
How to Qualify: The Three Core Tests You Must Pass
Claiming the closer connection exception isn’t automatic—you have to meet three specific tests. I’ll break them down from my own experience navigating the rules.
Test 1: Your Tax Home Must Be Outside the US
The IRS defines “tax home” as your regular or principal place of business or employment. For most of us, it’s where you primarily work. I had to show that my tax home was in Portugal, where I rented an apartment and ran my freelance writing business. The key here: you can’t just claim a foreign tax home if you’re on vacation. You need a consistent work base abroad—a home office, a lease, regular clients in that country. I kept a copy of my rental agreement and utility bills as evidence.
Test 2: You Have a Closer Connection to a Foreign Country
This is the heart of the exception. You must demonstrate that your personal and economic ties are stronger to a foreign country than to the US. The IRS looks at factors like where you maintain your permanent home, where your immediate family lives, where you have bank accounts, a driver’s license, or a mailing address. In my case, my wife lived with me in Lisbon, I had a Portuguese bank account, and I’d registered with the local tax authority. The IRS form asks you to list these ties, so be honest and thorough. It’s not about which country you feel closer to—it’s about concrete, documented relationships.
Test 3: You’re Present in the US for Fewer Than 183 Days in the Current Year
This is a hard cap. Even if you meet the first two tests, spending 183 days or more in the US during the calendar year disqualifies you from using the closer connection exception. I tracked my days meticulously using a simple spreadsheet—any day you’re physically present for any part of the day counts. For snowbirds or digital nomads who bounce between countries, this is the biggest trap. One year I almost slipped up during a long holiday visit, but I caught it and cut my trip short by a few days.
If you pass all three, you can file Form 8840 to claim the exception. But if you fail even one, you’re back to being a US tax resident.
Step-by-Step: Filing Form 8840 to Claim the Exception
Filing Form 8840 is straightforward, but I’ve seen people stumble on small details. Here’s my practical walkthrough, based on what I did last year.
- Download the latest Form 8840 from IRS.gov. Use the version for the current tax year—don’t grab an old one.
- Fill in your personal information. Part I asks for your name, address, and US taxpayer ID (Social Security number or ITIN). If you don’t have an ITIN, apply for one early—it can take months.
- Complete Part II: Days of Presence. List the number of days you were physically present in the US during the current year and the two preceding years. The form calculates the substantial presence test automatically. I double-checked with a calculator to avoid errors.
- Part III: Tax Home and Closer Connection. This is the critical section. Answer “yes” to the questions about having a tax home in a foreign country and a closer connection to that country. Then list your foreign ties—permanent home, family, bank accounts, driver’s license, and so on. I included my Portuguese NIF (tax number) and a copy of my lease.
- Sign and date. Mail it to the address listed in the instructions. There’s no e-filing option for this form—you have to mail a paper copy.
Common mistake: Forgetting to include a statement of your foreign ties. The IRS can reject your claim if you don’t provide enough detail. I attached a brief letter explaining my situation, which seemed to help.
The deadline is June 15 of the following year if you live abroad (with an extension to October 15), but I filed by April 15 to keep things simple. If you miss the deadline, you can request late filing with a reasonable-cause explanation—but don’t rely on that.
Real-Life Scenarios: When the Exception Works (and When It Doesn’t)
I’ve talked to dozens of expats and digital nomads over the years, and the closer connection exception is a lifeline for some but a trap for others. Here are three examples that illustrate the difference.
Scenario 1: The Digital Nomad Who Succeeded
Meet Ana, a graphic designer from Texas who spent 160 days in the US visiting family and working from coffee shops, but her tax home was in Mexico, where she rented an apartment and had a local bank account. She filed Form 8840 every year, carefully tracking her days and documenting her Mexican ties. Result: She avoided US residency taxes on her global income. Her secret? She never let her US days exceed 182.
Scenario 2: The Snowbird Who Got Burned
Now take Bob, a retired Canadian who spent winters in Florida. He stayed 185 days in the US one year—just over the limit—and assumed the exception would save him. But because he failed the 183-day test, the IRS treated him as a US resident. He ended up paying tax on his Canadian pension. The lesson: the 183-day cap is absolute; there’s no wiggle room.
Scenario 3: The Remote Worker with a US Employer
Carlos worked remotely for a US company while living in Colombia. His tax home was in Colombia (he had a home office there), but his US ties were strong—a US bank account, a US driver’s license, and his family in the US. The IRS denied his closer connection claim because he couldn’t demonstrate a stronger connection to Colombia. He had to file as a US resident and pay taxes on his US salary. The takeaway: having a US employer isn’t a dealbreaker, but you need to sever other US ties.
Frequently Asked Questions
Do I need to file Form 8840 even if I have fewer than 183 days in the US?
Yes, if you are present for at least 31 days in the current year and meet the substantial presence test otherwise, you must file to avoid being taxed as a resident. The exception is not automatic—you have to claim it.
Can I use the closer connection exception if I work remotely for a US company?
Yes, as long as your tax home is in a foreign country and you can demonstrate a closer connection there through ties like home, family, and bank accounts. A US employer alone doesn’t disqualify you, but it makes the IRS scrutinize your foreign ties more closely.
What happens if I miss the deadline for filing Form 8840?
You may lose the exception for that year and be treated as a US resident for tax purposes. You can request late filing with a reasonable-cause statement, but it’s not guaranteed. I always set a calendar reminder for March 1 to avoid this.
Does the exception apply to green card holders?
No, the closer connection exception only applies to individuals who are not lawful permanent residents (green card holders) and who meet the substantial presence test. If you have a green card, you’re a US resident regardless.
How often do I need to claim the closer connection exception?
Every year you are present in the US for 31+ days and meet the substantial presence test but want to avoid residency—file Form 8840 annually. It’s not a one-time election.
Final Takeaway
The closer connection exception is a powerful tool, but it demands discipline. Track your days, maintain a real home abroad, and file Form 8840 on time. One year of sloppiness can cost you thousands. If you’re unsure about your situation, consult a tax professional who specializes in expat taxes—it’s worth the investment. And if you found this helpful, bookmark it before your next trip; you might need the reminder.