Closer Connection Exception Form 8840 Calculator 2026
Determine eligibility for the Closer Connection Exception to the Substantial Presence Test. Score all 9 IRS connection factors, calculate SPT day count, and check Form 8840 filing deadline.
9 Connection Factors (check where your connection is STRONGER)
For each factor, select whether your ties are closer to the US or to the foreign country.
Substantial Presence Test Calculation
When Do You Need Form 8840?
Form 8840 is needed when: (1) You meet the Substantial Presence Test (183+ weighted days), AND (2) You want to claim you are a non-resident alien for tax purposes because your closer connection is to a foreign country. Without filing Form 8840, the IRS will treat you as a US resident and tax your worldwide income.
Weighted Days = Current Year Days + (Prior Year Days รท 3) + (2-Year Prior Days รท 6)
SPT Met = Current Year โฅ 31 days AND Weighted Days โฅ 183
CCE Requirements (all three must be true):
1. Current year US days < 183
2. Tax home in foreign country
3. Closer connection to foreign country (majority of 9 factors)
Form 8840 Due: April 15, 2027 (for tax year 2026)
Weighted days: 120 + (90รท3) + (120รท6) = 120 + 30 + 20 = 170 days
SPT NOT met (170 < 183) โ No Form 8840 needed
With 150 days in 2026, same prior years:
150 + 30 + 20 = 200 days โ SPT MET โ File Form 8840 if CCE qualifies
Sources & References (click to expand)
- IRC ยง7701(b)(3)(B) โ Closer Connection Exception to Substantial Presence Test
- Reg. ยง301.7701(b)-2 โ Closer Connection to a Foreign Country (9-factor test)
- IRS Form 8840 Instructions โ Closer Connection Exception Statement for Aliens
- IRS Publication 519 โ US Tax Guide for Aliens (SPT, CCE, and resident alien rules)
- IRS โ Closer Connection Exception (official IRS guidance page)
Multi-Factor Scoring Calculator with Treaty Tie-Breaker
Toggle all 9 connection factors. Real-time CCE eligibility score. Treaty tie-breaker fallback analysis. Filing deadline countdown.
Score all 9 connection factors in detail. See real-time eligibility status, treaty tie-breaker fallback, and Form 8840 filing deadline countdown.
9-Factor Connection Scoring (Toggle Each Factor)
For each factor, toggle whether it is closer to the FOREIGN country (recommended) or the US.