Skip to main content
International Tax

US Expat Taxes in Costa Rica: File and Avoid Double Tax

How Americans in Costa Rica file a US return under Costa Rica's territorial system, choose FEIE vs Foreign Tax Credit, and avoid double tax with no treaty.

Clark Shi, CPA, founder of TS CPA

Founder, TS CPA

US expat taxes in Costa Rica run on two tracks that rarely line up. Costa Rica's largely territorial system, administered through the Direccion General de Tributacion, taxes residents only on income sourced inside the country, while the United States taxes its citizens and green card holders on every dollar of worldwide income regardless of where they live. That mismatch means US-source income earned by an American in Costa Rica is taxed only by the US, with no Costa Rican tax on it at all and therefore nothing for the Foreign Tax Credit to credit against it. Retirees on a pensionado or rentista visa and remote workers on the digital nomad program feel this mismatch the most, and with no US-Costa Rica income tax treaty and no totalization agreement covering social security, working out double-tax relief, retirement account treatment, and self-employment tax exposure falls entirely on US domestic law rather than treaty provisions built for this exact situation.

Do US Citizens Living in Costa Rica Have to File Both Costa Rican and US Tax Returns?

Yes, in most cases. Costa Rica requires its own filing from residents on Costa Rican source income through the Direccion General de Tributacion, which sits within the Ministerio de Hacienda, and the United States separately taxes its citizens and green card holders on worldwide income no matter where they live. That US filing obligation is tied to citizenship or immigration status, not to where you actually spend the year.

Because Costa Rica's system is largely territorial rather than worldwide, an American living there may end up with little or no Costa Rican tax due on income earned outside the country, even while the full US Form 1040 filing requirement stays in place on everything, US-source and foreign-source alike. Filing and paying tax in Costa Rica, when it applies, does not excuse you from filing a US return, and the absence of a Costa Rican tax bill on foreign income does not reduce your US obligation either. The Foreign Earned Income Exclusion and the Foreign Tax Credit do all of the double-tax planning work on the US side, since there is no treaty to divide the responsibility.

How Does Costa Rica's Territorial Tax System Work for Residents?

Costa Rica taxes residents on income from work they perform inside Costa Rica, even when the employer or client is in the United States. It generally does not tax foreign passive income such as US interest, dividends, rents, capital gains or pensions.

That territorial approach is common among Costa Rica's popular residency categories, including the pensionado and rentista programs aimed at retirees and the digital nomad visa aimed at remote workers, all of which draw people who plan to keep earning or receiving income from outside Costa Rica. Costa Rica applies progressive rates to the income it does tax.

Remote workers on the digital nomad visa are exempt from Costa Rican income tax on their remote-work income under Ley 10008 for the visa's term of one year, renewable once for one more year. Retirees on pensionado or rentista status generally owe no Costa Rican tax on foreign pensions, interest or dividends. For US purposes, the practical effect is that the Costa Rican side of the equation is often much smaller than in a worldwide-taxation country, which changes how the Foreign Tax Credit and Foreign Earned Income Exclusion actually perform.

Should You Claim the FEIE or the Foreign Tax Credit on Costa Rican Income?

Pay for work done while living in Costa Rica is Costa Rican-source income, even when the employer or client is in the United States, and Costa Rica can tax it at progressive rates up to 25%. When it does, the Foreign Tax Credit on Form 1116 can offset the US tax on it, so compare both elections every year, including the effect on self-employment tax and the Additional Child Tax Credit. The Foreign Earned Income Exclusion on Form 2555 is most useful for digital nomad visa holders, whose remote-work income is exempt in Costa Rica, and for anyone whose Costa Rican tax on that income is low. The Foreign Tax Credit on Form 1116 can only credit tax actually paid to Costa Rica, computed by category under IRC Sections 901 and 904, so it helps only when Costa Rica actually taxes the income.

The Foreign Earned Income Exclusion on Form 2555 instead excludes foreign earned income up to an annually indexed maximum, for example $132,900 for 2026 ($130,000 for 2025; $137,300 for 2027), under IRC Section 911, without needing any Costa Rican tax to have been paid at all. The FEIE does nothing for self-employment tax, disqualifies the refundable Additional Child Tax Credit for a family with children, and once revoked generally cannot be re-elected for five years without IRS consent. The Foreign Tax Credit still matters whenever Costa Rican source income is actually taxed locally, so both elections should be compared every year rather than defaulting to one; our FEIE versus Foreign Tax Credit comparison walks through the tradeoffs in more detail.

Foreign Earned Income Exclusion (Form 2555)
Foreign Tax Credit (Form 1116)
What it does
Foreign Earned Income Exclusion (Form 2555): Excludes foreign earned income up to the annual limit
Foreign Tax Credit (Form 1116): Credits Costa Rican income tax actually paid against US tax, dollar for dollar
Best fit when
Foreign Earned Income Exclusion (Form 2555): Costa Rican tax on the income is low or zero, such as remote-work income exempt under the digital nomad visa
Foreign Tax Credit (Form 1116): Costa Rican source income is directly taxed by the DGT
Effect on Child Tax Credit
Foreign Earned Income Exclusion (Form 2555): Disqualifies the refundable Additional Child Tax Credit
Foreign Tax Credit (Form 1116): Generally preserves eligibility for the refundable Additional Child Tax Credit
Unused benefit
Foreign Earned Income Exclusion (Form 2555): Lost entirely if not used, no carryover
Foreign Tax Credit (Form 1116): Excess credit carries back 1 year and forward 10 years
Effect on self-employment tax
Foreign Earned Income Exclusion (Form 2555): Does not reduce it
Foreign Tax Credit (Form 1116): Does not reduce it

What Does the US-Costa Rica Tax Treaty Do for Double Taxation?

Nothing, because no such treaty exists. The United States and Costa Rica have no comprehensive income tax treaty, which means the tie-breaker residency rules, saving clause exceptions, and treaty-based pension provisions that shape planning in treaty countries are simply not available to an American living in Costa Rica.

Instead, double-tax relief depends entirely on domestic law: the Foreign Tax Credit under IRC Sections 901 and 904, and the Foreign Earned Income Exclusion under IRC Section 911. Because Costa Rica's territorial system leaves most foreign passive income untaxed, the missing treaty matters less for that income, but it still leaves gaps. US-source income that Costa Rica does not tax has no local credit to offer relief against in the first place, and any Costa Rican source income that does get taxed locally has only the domestic Foreign Tax Credit standing behind it.

Is There a US-Costa Rica Totalization Agreement for Social Security?

No. The United States and Costa Rica have never signed a totalization agreement, unlike many other popular expat destinations. Without one, there is no coordination between the two countries' social security systems and no certificate of coverage available to exempt a worker from one system while covered by the other.

The practical impact falls hardest on self-employed Americans in Costa Rica. A self-employed US citizen generally owes US self-employment tax on net self-employment earnings regardless of where the work is performed, and with no totalization agreement in place, there is no certificate of coverage or Costa Rican offset that can reduce that specific US liability. Our guide to totalization agreements and self-employment tax abroad explains how the certificate process works in countries that do have an agreement, which helps clarify exactly what a Costa Rica-based self-employed American is missing. Costa Rica charges its own social security too. Every legal resident, including pensionados and rentistas, must stay enrolled with the Caja Costarricense de Seguro Social (CCSS), and a self-employed resident pays CCSS contributions on business earnings. With no totalization agreement, a self-employed American can pay both US self-employment tax and CCSS on the same income.

How Are Costa Rican Pensions and Retirement Accounts Taxed by the US?

Not automatically, and the missing US-Costa Rica tax treaty removes an option that exists in some other countries. A Costa Rican pension or retirement savings vehicle is not, by itself, tax-deferred for US purposes just because it receives favorable treatment under Costa Rican law.

A Costa Rican employer plan is usually a nonexempt employees' trust for US purposes under IRC Section 402(b). Employer contributions are generally taxed to you once they vest, growth is generally taxed when paid out, and a highly compensated employee can be taxed on growth each year. A plan you fund yourself can be taxed as it grows. The lack of a treaty leaves this timing in place. Our foreign pension US tax treatment guide walks through the four questions that determine the answer for any foreign plan: whether growth is taxed as it accrues, whether a treaty defers it, what has to be reported, and how distributions are taxed.

Are Costa Rican Investment Funds Taxed as PFICs?

Usually, yes, and it catches many Americans off guard, since a Costa Rican brokerage or bank has no reason to warn a US client about a classification that only exists under US tax law. A Costa Rican fondo de inversion or other pooled investment vehicle typically meets the definition of a passive foreign investment company under IRC Section 1297, with Sections 1291 and 1298 governing the tax treatment. That classification is a matter of US tax law, does not depend on how lightly the fund is taxed under Costa Rica's territorial system, and applies whether or not a tax treaty exists.

Once a fund is a PFIC, the default US tax treatment is severe: without a timely election, the IRS spreads gains and certain distributions evenly over your holding period, taxes the portion assigned to earlier PFIC years at the top rate for each of those years, adds an interest charge, and taxes the rest as ordinary income this year. Each PFIC generally requires its own Form 8621 filing, even in a year where no tax is actually due (unless your PFIC holdings total $25,000 or less, $50,000 on a joint return, the fund has no QEF or mark-to-market election, and you had no excess distribution and no gain from selling it that year), which is why Americans in Costa Rica are usually steered toward US-domiciled brokerage accounts and US-based index funds rather than a local fund held through a Costa Rican institution.

What Else Do You Have to Report to the IRS?

The income tax return is only the starting point. Costa Rican financial accounts and investment holdings trigger a separate set of reporting obligations that apply whether or not any US tax ends up owed, none of them tied to a tax treaty or a totalization agreement, and the IRS enforces each one on its own terms with penalties that routinely dwarf the underlying tax bill.

The Costa Rica Reporting Stack

Reference
  • FBAR (FinCEN Form 114). Required when the combined balance of your Costa Rican bank, brokerage, and retirement-related accounts exceeds $10,000 at any point during the year. See our FBAR filing guide.
  • Form 8938 (FATCA, IRC §6038D). A separate filing threshold, higher for Americans living abroad, that can require you to list the same Costa Rican accounts directly on your federal tax return. See our Form 8938 guide.
  • Form 8621 (PFIC). Generally required for each Costa Rican fondo de inversion or other pooled fund that qualifies as a passive foreign investment company. See our PFIC and Form 8621 guide.

US citizens and green card holders file a US return wherever they live. The substantial presence test only matters for a non-citizen without a green card, and it counts days spent in the United States.

Bottom Line

The territorial system that draws retirees and remote workers to Costa Rica does not translate into a simpler US tax picture. With no income tax treaty and no totalization agreement, there is no treaty relief to lean on. The two tax agencies do share information, though: Costa Rican banks report US account holders under a FATCA agreement in force since 2019, and the two countries have a tax information exchange agreement. Pay for work done in Costa Rica can be taxed there, so compare the Foreign Tax Credit and the Foreign Earned Income Exclusion every year, and a self-employed American can owe both US self-employment tax and CCSS on the same income. Pensions, fondos de inversion, and Costa Rican bank and brokerage accounts each carry their own reporting rules on top of the income tax analysis, and a mistake on any single one of them typically costs far more in penalties than the underlying tax ever would have.

Have questions about US expat taxes in Costa Rica? Contact TS CPA for a free consultation. We respond within the same day.

Official IRS and Government Sources