Taxes in space: is money earned in orbit or on the Moon "foreign earned income"?
Americans abroad can exclude part of their foreign wages from US tax. Space is about as far abroad as anyone can get. But the tax code asks a different question: is it a foreign country? Here is what the statute and the IRS say, and what that means for a future lunar base.

The short answer
- US citizens and resident aliens owe US income tax on income from anywhere, so leaving Earth does not end the obligation.
- NASA astronauts cannot use the foreign earned income exclusion in any case: the statute leaves out pay from the United States or its agencies to its employees.
- The exclusion only covers income from sources in a "foreign country," meaning territory under another government's sovereignty. No country has sovereignty in space or on the Moon.
- The tax code has its own rule for "any activity conducted in space": income of a US person from it is generally US-source. Our reading: wages earned at a lunar base would not qualify for the exclusion under current law.
People who move abroad for work often ask us the same tax question: if I earn my salary outside the United States, do I still owe the IRS? For US citizens the short answer is yes, with one big possible break called the foreign earned income exclusion. For 2026 the IRS says it can shield up to $132,900 of foreign wages per person.
So what about someone who earns a salary in orbit, or someday on the Moon? This article walks through the rules that exist today. Where we go beyond them, we say so.
Leaving Earth does not leave the tax system
The starting rule is in the income tax regulations: "all citizens of the United States, wherever resident, and all resident alien individuals are liable to the income taxes imposed by the Code whether the income is received from sources within or without the United States."
There is no exception for where you happen to be when you do the work. A US citizen on the Space Station or on a private orbital flight is still a US taxpayer. So the only real question is whether any exclusion applies.
NASA astronauts: the answer is in one clause
For government astronauts, the statute settles it without ever reaching the space question. Section 911 says foreign earned income does not include amounts "paid by the United States or an agency thereof to an employee of the United States or an agency thereof."
The IRS repeats this in Publication 54. Asked whether a US government employee working abroad can use the exclusion, it answers no: "Amounts paid by the United States or its agencies to their employees aren't treated for this purpose as foreign earned income."
A NASA astronaut is paid by a US agency. Even a long-duration mission would not change that. Our reading is the same for astronauts who serve in the military and are paid by the United States.
Private travelers and contractors: is space a "foreign country"?
A private company's employee is not stopped by the government-pay clause. For that person the exclusion turns on two tests in section 911:
- the income must come "from sources within a foreign country or countries"; and
- the person must be a "qualified individual," meaning their tax home is in a foreign country and they either are a bona fide resident of a foreign country for a full tax year or are present in a foreign country for at least 330 full days in 12 months.
Both tests need a foreign country. The regulation defines one: "any territory under the sovereignty of a government other than that of the United States," including its territorial waters and "the air space over the foreign country."
Space is under no government's sovereignty. The Outer Space Treaty says outer space, including the Moon, "is not subject to national appropriation by claim of sovereignty, by means of use or occupation, or by any other means." So by the plain words of the regulation, orbit and the Moon are not foreign countries.
The IRS has already drawn this line on Earth
The IRS has addressed the closest Earth cases. In its guidance for flight crews, it says that for the exclusion a foreign country "does not include airspace over international waters, the United States, U.S. territories, or Antarctica." It also says the term excludes "ships and aircraft traveling in or above international waters," and that pay for time flying over international waters is not foreign earned income.
International airspace, the high seas and Antarctica share one feature with space: no country is sovereign there. Our reading is that the IRS would reach the same result for orbit and for the Moon.
The tax code's own rule for space
Section 863(d) deals with "space or ocean activity," which it defines to include "any activity conducted in space." The rule is short:
- income from a space activity derived by a United States person "shall be sourced in the United States"; and
- income from a space activity derived by anyone else "shall be sourced outside the United States."
The regulation defines space as "any area not within the jurisdiction (as recognized by the United States) of a foreign country, possession of the United States, or the United States, and not in international water." Its list of space activities includes "Performance and provision of services in space" and "Production, processing, or creation of property in space." It lets a US person treat some space income as foreign-source, but only to the extent it is attributable to functions performed, resources employed or risks assumed "in a foreign country or countries."
These rules were written mostly with satellite businesses in mind. We found no IRS ruling that applies them to an individual employee's wages for work done in orbit. Our reading is that the source rule points the same way as the foreign country test: wages a US person earns for work in space are not income from sources within a foreign country.
Our reading for workers at a future lunar base
Everything in this section is analysis, not settled law.
- Government crew. Anyone paid by NASA or another federal agency is outside the exclusion by statute, on the Moon as on Earth.
- Private contractors who are US citizens. Under current law we do not think the exclusion is available for days worked on the Moon. The Moon is not a foreign country, and income from activity in space is generally US-source for a US person.
- The 330-day test. Days on the Moon would not count as days present "in a foreign country." Time spent in a real foreign country before or after the mission could still count, if the other tests are met.
- State taxes. State rules are outside this article, but where you are domiciled is likely to matter. Read how Texas treats an astronaut's home while in orbit for the idea that a temporary absence does not change where you live.
Congress could write a lunar rule, as it did for space income in section 863(d). As of November 18, 2026, we found no bill or IRS guidance that does.
What to do now
If you are a US citizen offered a job that includes time in orbit or at a future Moon facility, do not plan around the foreign earned income exclusion. Keep a record of where you were each day, in case some of the work happens in a real foreign country. Talk to a tax adviser before you sign, and to an immigration lawyer if you are not a US citizen. Our guide to visas for space industry workers covers the immigration side.
Questions people ask
Do astronauts pay taxes on money earned in space?
Yes. US citizens and resident aliens owe US income tax on income from all sources, wherever they live. A NASA astronaut is paid by a US agency, and the foreign earned income exclusion expressly does not cover pay from the United States or its agencies to their employees.
Is space a foreign country for tax purposes?
No. The tax regulation defines a foreign country as territory under the sovereignty of a government other than the United States, and no country has sovereignty in space. The IRS already says airspace over international waters and Antarctica are not foreign countries for the exclusion, and the statute treats activity in space as a separate category.
Could a worker at a future lunar base use the foreign earned income exclusion?
Our reading is no, under current law. The Moon cannot be claimed by any country, so it is not a foreign country, and the tax code generally treats a US person's income from activity in space as US-source. Congress could change that, but no bill or IRS guidance we found addresses it.
Law and sources cited
Every fact in this article was checked against these sources on November 18, 2026. Where the article goes beyond what a text plainly says, it says it is our analysis.
- 26 U.S.C. 911, citizens or residents living abroad
- 26 CFR 1.911-2(h), definition of foreign country
- 26 U.S.C. 863(d), source rules for space and ocean activities
- 26 CFR 1.863-8, space and ocean income
- 26 U.S.C. 7701(a)(9), United States
- 26 CFR 1.1-1(b), citizens and residents liable to tax
- IRS, U.S. citizens performing services in foreign and international airspace
- IRS, Figuring the foreign earned income exclusion
- IRS Publication 54 (12/2025), Tax Guide for U.S. Citizens and Resident Aliens Abroad
- Outer Space Treaty, Art. II (UNOOSA)


