Can I claim it if I'm married filing separately?
Generally no: a married person has to file jointly to get the credit. The exception is the separated-spouse rule, which can let you claim it on a separate return if you have a qualifying child. Compare joint and separate results before you choose a status.
Sources
What's the separated-spouse rule?
If you're married but don't file jointly, you can still claim the credit if a qualifying child lived with you for more than half the year and either you lived apart from your spouse for the last 6 months of the year, or you're legally separated by a written separation agreement or decree of separate maintenance and weren't in the same household at the end of the year. You check a box in the Dependents section of Form 1040 for this.
Sources
What are the Social Security number rules?
You, your spouse if filing jointly, and any child you count toward a bigger credit all need a Social Security number issued by the due date of your return, including extensions. The number must be valid for work, not one issued only for a government benefit. An ITIN doesn't work. If you can't get the number by the due date, you lose the credit for that year.
Sources
Can a nonresident alien claim it?
Not unless you file jointly with a spouse who is a U.S. citizen or resident and you both choose to be taxed as U.S. residents. You also can't claim it if you file Form 2555 to exclude income earned abroad.
Sources
Authority, strongest first
- Code I.R.C. § 32
- IRS publication IRS Pub. 596 (2025), Earned Income Credit (EIC)
32(c)(1)(D) (nonresident alien for any part of the year, unless treated as a resident by a 6013(g) or (h) election) and 32(c)(1)(C) (
section 911 claimants). Pub. 596 (2025) Rules 4 and 5; Pub. 519 explains the election, which we did not read.