Home/Guides/

Do nonresident aliens pay US tax on crypto gains?

Last updated 2026-11-24 · Sources linked on every listing

Short answer: if you're a nonresident alien for US tax purposes and your crypto trading isn't part of a US business, your crypto capital gains are generally not taxed by the US as long as you were in the United States for less than 183 days during the year. Your home country may still tax them. Source: IRS Publication 519, US Tax Guide for Aliens.

This page is for people who aren't US citizens or green card holders. US citizens living abroad are taxed on worldwide income; see crypto taxes for US expats.

Step 1: are you actually a nonresident?

Pub. 519 says you're a resident for tax purposes if you meet the substantial presence test: physically present in the US on at least 31 days in the current year and 183 days over the three-year period that includes it, counting:

Pub. 519's own example: 120 days in each of three years counts as 120 + 40 + 20 = 180 days, so that person is not a resident under the test. Resident aliens are taxed like US citizens on worldwide income, crypto included, and report it on Form 1040 with Form 8949. Green card holders are residents regardless of days. Pub. 519 also covers exceptions (students, teachers, treaty tie-breakers, and dual-status years), so read it or ask a professional if you're close to the line.

Step 2: is the gain effectively connected with a US business?

Pub. 519 splits a nonresident's US income into two buckets. Effectively connected income is taxed at the same graduated rates as US citizens. Income that isn't effectively connected is taxed at a flat 30% (or lower treaty) rate, but capital gains in that bucket have their own rule, below.

On trading, Pub. 519 says you're not engaged in a US trade or business if trading for your own account in stocks, securities or commodities is your only US business activity, even when you're in the US or a broker trades for you. That rule doesn't cover dealers. Pub. 519 doesn't say how it applies to crypto, so if you trade heavily, mine, run validators, or get paid in crypto for work done in the US, get advice before assuming you're outside the US tax net. Crypto received for services is pay, not a capital gain; see paid in crypto.

Step 3: the 183-day rule for capital gains

Your situation (gains not effectively connected)US tax on US-source net capital gain
In the US less than 183 days during the tax yearGenerally not taxable
In the US 183 days or more during the tax year30% (or lower treaty) rate on net gain

Under the 183-day rule, net gain is your US-source capital gains minus US-source capital losses, and Pub. 519 says it applies even to sales made while you were outside the US. Capital loss carryovers and losses on personal-use property don't count in that figure. In practice, most people with 183 days in a year also pass the substantial presence test and become residents, so the 30% rule mostly matters to people whose days don't count toward that test, such as some students.

Where's a crypto gain sourced? Pub. 519 says gain on the sale of personal property is generally US-source if your tax home is in the US, and foreign-source if it isn't. Your tax home is your main place of work, or where you regularly live if you have no main place of work. The IRS hasn't published a crypto-specific sourcing rule, so a CPA should confirm this for your facts.

US exchanges, W-8BEN and Form 1099-DA

US brokers started issuing Form 1099-DA for 2025 sales. The Form 1099-DA instructions tell brokers to ask foreign customers for the appropriate Form W-8 (usually W-8BEN for individuals) instead of a W-9, and they list sales for exempt foreign persons among the sales that aren't reported. If you're a nonresident and you get a W-9 request, give the broker a W-8BEN instead; a W-9 certifies you're a US person. Starting in 2027, missing paperwork can mean 24% backup withholding; see crypto backup withholding.

Filing Form 1040-NR

If your only US-source crypto gains are untaxed under the under-183-day rule and you have no other US income, you may not need to file at all; Pub. 519 lists who must file Form 1040-NR.

Records still matter

If you later become a US resident, you'll need the cost basis and purchase dates of coins you bring with you. Keep a full history now. Crypto tax software can track it across exchanges and wallets: CoinLedger (code CRYPTOTAX10 for 10% off) or Koinly . Affiliate links; disclosure. For treaty claims, dual-status years, or active trading, use a crypto-savvy CPA who handles international clients. Once you are a US resident or citizen and another country taxes your crypto, see the foreign tax credit (Form 1116); nonresident aliens generally can't take it.

U.S. persons holding foreign crypto funds or ETPs file differently; see Form 8621 for foreign crypto ETFs and funds (PFIC).

Own, control or sit on the board of an offshore company that holds crypto? See Form 5471 for crypto held through a foreign corporation.

U.S. relatives receiving crypto from a nonresident alien may need to file Form 3520 for crypto gifts from abroad once gifts top $100,000 in a year.

Resident in both the U.S. and another country, or claiming a treaty exemption on your crypto gains? See Form 8833 and tax treaty positions for crypto (tie-breaker, Form 1040-NR, $1,000 penalty).

Giving up a green card you held in at least 8 of the last 15 years? See Form 8854 and the crypto exit tax for long-term residents.

Sources

FAQ

Do nonresident aliens pay US tax on crypto gains?

Usually not. IRS Publication 519 says that when capital gains aren't effectively connected with a US trade or business, they're generally not taxable if you were in the United States for less than 183 days during the year.

What happens if I was in the US for 183 days or more?

Pub. 519 says a nonresident alien present 183 days or more during the tax year pays a 30% (or lower treaty) rate on net gain from sales of capital assets from US sources. But 183 days in the year also usually makes you a resident under the substantial presence test, so check your status first.

Does trading crypto make me engaged in a US trade or business?

Pub. 519 says trading stocks, securities or commodities for your own account isn't a US trade or business, even through a broker. The IRS hasn't said in Pub. 519 how that applies to crypto specifically, so ask a tax professional if you trade actively.

Will a US exchange send me a Form 1099-DA?

The Form 1099-DA instructions tell brokers to ask foreign customers for the appropriate Form W-8 instead of a W-9. Sales for exempt foreign persons, as defined in the regulations, aren't reported on Form 1099-DA.

Where does a nonresident alien report crypto gains?

Gains that aren't effectively connected go on Schedule NEC of Form 1040-NR. Effectively connected gains go on Schedule D or Form 4797 attached to Form 1040-NR.