Tax Guide

US crypto tax for nonresident aliens filing a 2025 return

Published March 27, 2026 ·Updated September 2, 2026 · CoinTaxReporting · 10 min read

A visa label, a US exchange account and 183 days in the country do not answer the same tax question. First determine whether you were a resident alien or nonresident alien for the year. If you remain a nonresident alien, classify each crypto item by source and by whether it is effectively connected with a US trade or business. This guide explains that sequence and identifies where current IRS digital-asset guidance does not provide a crypto-specific sourcing shortcut.

Modern editorial illustration for the crypto tax article “US crypto tax for nonresident aliens filing a 2025 return”
US crypto tax guide for nonresident aliens filing 2025 returns: residency tests, the 183-day rules, ECI, capital gains, Form 1040-NR and records.

Step one: determine US tax residency

Prepare Your Crypto Tax Workpapers

Import your transactions, review the results and generate detailed tax workpapers without building the entire calculation manually in spreadsheets.

Start for free →

Federal tax residency is not determined by nationality, the country of an exchange or the name printed on a visa. An individual is generally a resident alien for a calendar year by meeting the green-card test or the substantial-presence test, subject to statutory exceptions, a closer-connection claim or an applicable income-tax treaty. A person who is resident for only part of the year may have a dual-status return.

This distinction changes the scope of the return:

StatusFederal starting pointTypical return
Resident alienGenerally taxed like a US citizen on worldwide income, including digital-asset income and gainsForm 1040
Nonresident alienGenerally taxed on effectively connected income and specified US-source incomeForm 1040-NR when a filing requirement exists
Dual-status alienResident and nonresident rules apply to different portions of the yearDual-status filing package under the Form 1040/1040-NR instructions

A crypto report therefore needs the taxpayer's status dates before it maps a sale, reward or service payment. Applying ordinary Form 1040 rules to the entire year can overstate a nonresident's scope; assuming that every foreign citizen is exempt can omit taxable US income.

The two 183-day rules are not interchangeable

The substantial-presence test generally uses a weighted three-year formula: all countable days in the current year, one-third of countable days in the preceding year and one-sixth of countable days in the second preceding year. At least 31 current-year days and a weighted total of 183 days are generally required. Excluded days and exceptions can change the result.

A separate rule can tax certain capital gains of an individual who remains a nonresident alien but is physically present in the United States for 183 days or more during the current tax year. Publication 519 explains that net US-source capital gain covered by this rule is generally taxed at 30%, or a lower treaty rate. This current-year presence count is not the weighted substantial-presence formula.

Do not use one counter for both tests. A taxpayer can exclude days for the substantial-presence test yet still need a separate analysis of the capital-gain presence rule. Conversely, a weighted 183-day total does not mean the person spent 183 days in the current year.

F, J and H status: what the visa does and does not prove

For substantial-presence purposes, an “exempt individual” is exempt from counting specified days, not exempt from US income tax. The category and prior calendar years matter:

Form 8843 is used to explain excluded days for exempt individuals and certain medical conditions. Failing to count prior F or J calendar years is a common source of wrong crypto returns.

For a nonresident: separate ECI, FDAP and capital gains

Once nonresident status is established, the return does not simply apply one “NRA crypto rate.” The IRS separates income that is effectively connected with a US trade or business (ECI) from US-source income that is fixed, determinable, annual or periodical (FDAP), and applies additional rules to gains from property.

CategoryGeneral treatmentReporting starting point
ECINet income after allowable connected deductions; graduated rates generally applyApplicable schedules flowing to Form 1040-NR
US-source FDAP not ECIGenerally 30% on gross income unless a treaty provides a lower rateSchedule NEC (Form 1040-NR)
Capital gain not ECISpecial source, presence and treaty rules; not automatically FDAPSchedule NEC when taxable
Capital gain that is ECIConnected gain/loss rules and net taxationSchedule D or Form 4797 attached to Form 1040-NR, as applicable

The IRS characterization page expressly excludes gains from sales of real or personal property from the general FDAP definition. It is therefore inaccurate to label every token sale “30% FDAP.” ECI can arise where a US business and its assets or activities are materially connected with the income. Services physically performed in the United States are an important example.

How common crypto events fit the analysis

IRS digital-asset guidance treats digital assets as property and requires a gain or loss calculation when a capital asset is sold, exchanged or spent. That general property classification does not, by itself, settle the international source of every decentralized transaction. Current IRS public digital-asset guidance does not provide a universal rule saying that the exchange location, blockchain validator, wallet server or token issuer determines the source of a nonresident's crypto gain.

EventWhat the report can calculateWhat still needs tax analysis
Investment sale or crypto-to-crypto exchangeProceeds, basis, holding period and gain/lossSource, current-year presence, ECI and treaty treatment
Payment for servicesUSD fair market value when received and later basisWhere services were performed, employment/business status and withholding
Mining operationReceipts, costs and disposalsWhether activities constitute a US trade or business and where services/operations occur
Staking rewardReceipt time, dominion-and-control evidence, fair value and later disposalInternational source and ECI/other-income classification on the taxpayer's facts
DeFi yield, lending or liquidity positionCash flows and token movementsLegal rights, income character, source and whether an exchange occurred
Futures, perpetuals or optionsContract P&L, fees and opening/closing historyContract classification, source, trading-business connection and treaty result

Do not automatically apply the securities or commodities trading safe harbors to every crypto token or derivative. Whether an instrument and activity meet those statutory categories is fact-dependent. A US exchange account also does not by itself turn every investment sale into US-source gain, and a foreign exchange does not shield income from services performed or a business conducted in the United States.

The US crypto capital-gains guide explains basis and holding periods. Those calculations are necessary, but a nonresident return needs the additional source and ECI layer described here.

Form 1040-NR, Form 1099-DA and filing evidence

A nonresident alien engaged in a US trade or business generally files Form 1040-NR even if the business produced no income, no US-source income or treaty-exempt income, subject to the form instructions. A nonresident not engaged in a US trade or business may still need to file when US-source income reportable on Schedule NEC was not fully satisfied by withholding. The filing test is not simply “I traded crypto, therefore I must file” or “I received no 1099, therefore I do not file.”

For 2025 transactions, US brokers generally began gross-proceeds reporting on Form 1099-DA. The IRS notes that most 2025 statements do not include basis. Receipt of the form does not determine residency, source, ECI or ultimate taxability. It is an information statement that must be reconciled; if issued incorrectly to a foreign person, follow the IRS correction guidance and broker procedures rather than silently omitting it.

See the Form 1099-DA guide for statement reconciliation and the crypto records checklist for lot-level evidence.

Tax treaties and state tax are separate layers

An income-tax treaty may change the federal result for a resident of a treaty country, but the relevant residence, gains, business-profits, employment or other-income article must be tested. Not every treaty uses identical language, not every country has a US income-tax treaty and Form 8833 is required only when the disclosure rules apply. Claiming “treaty exempt” without identifying the article and facts is not a filing position.

State residency and sourcing rules are separate. A person who is a federal nonresident alien can still have a state filing obligation. Some states do not follow every federal treaty benefit. The federal report should not promise a state exemption merely because Form 1040-NR is used.

A defensible nonresident crypto workflow

  1. Build the travel calendar: count actual US days and identify potentially excluded days for all three test years.
  2. Determine annual status: apply green-card, substantial-presence, exception, treaty and dual-status rules.
  3. Inventory events: separate capital disposals, services, rewards, mining, DeFi, derivatives and own-wallet transfers.
  4. Calculate tax facts: determine USD value, proceeds, adjusted basis, fees, holding period and realized result.
  5. Classify international facts: determine source, ECI, US business connection, current-year presence and treaty position.
  6. Reconcile statements: match 1099-DA, 1042-S, W-2 and broker exports without inventing missing basis.
  7. Select the return path: Form 1040, Form 1040-NR or a dual-status filing, with the applicable schedules.
  8. Review state obligations: apply the relevant state's residence and source rules separately.

The US beginner filing guide covers the underlying property, basis and form mechanics. For a nonresident, this workflow adds the status and international sourcing evidence needed before those forms can be finalized.

Frequently asked questions

Does an F-1 visa make all crypto gains tax-free?

No. Qualifying student days may be excluded from the substantial-presence test for a limited number of calendar years, but “exempt individual” does not mean exempt from income tax. US-source income, ECI and the separate capital-gain rules still require analysis.

Does H-1B status automatically make me a resident alien?

No. H-1B days generally count, but residency depends on the green-card or substantial-presence test and any applicable exception or treaty position.

Are a nonresident alien's crypto gains always exempt below 183 days?

No blanket crypto exemption should be claimed. Publication 519 provides a general capital-gain rule for a nonresident present fewer than 183 current-year days, but source, ECI, special gain categories, student/scholar rules and treaties can change the result.

Is the 183-day capital-gain rule the substantial-presence test?

No. The capital-gain rule counts current-year physical presence, while substantial presence generally uses a weighted three-year formula and determines resident versus nonresident status.

Does using Coinbase or another US broker create US-source gain?

The broker's location alone is not a complete digital-asset sourcing rule. Determine the taxpayer's status, the nature of the asset and activity, applicable personal-property source rules, ECI and treaty provisions.

Do I file Form 1040-NR because I received Form 1099-DA?

Not solely for that reason. The statement must be reconciled, but the Form 1040-NR filing requirement follows the nonresident filing rules and the character, source and connection of the income.

Are staking rewards automatically FDAP for a nonresident?

No crypto-specific IRS rule supports that automatic label. General guidance addresses income recognition, while source, ECI and the correct nonresident category require a separate facts-and-circumstances analysis.

Official IRS sources

Official-source review completed 2 September 2026 for 2025 federal returns. This guide does not determine a treaty or state position without the taxpayer's residence, travel and activity facts.

Related Resources

Crypto Tax SoftwareCrypto Tax BlogHow to Report Crypto on TaxesCrypto Capital Gains Tax USForm 1099-DA Explained

Generate Your Crypto Tax Report

Import your transactions, review the results and generate a detailed PDF report with a transaction-level audit trail.

Start for free →

Disclaimer: This article is for general informational purposes only and does not constitute tax advice. For individual tax advice, consult a licensed tax professional.

Regionale Krypto-Steuern

Krypto-Steuerreports für 55+ Länder – lokale Steuerlogik, klare Reports.

🇩🇪Krypto-Steuern Deutschland🇦🇹Krypto-Steuern Österreich🇨🇭Krypto-Steuern Schweiz🇬🇧Crypto Tax UK🇺🇸Crypto Tax USA🇮🇪Crypto Tax Irland🇫🇷Krypto-Steuern Frankreich🇮🇹Krypto-Steuern Italien🇪🇸Krypto-Steuern Spanien🇳🇱Krypto-Steuern Niederlande🇧🇪Krypto-Steuern Belgien🇫🇮Krypto-Steuern Finnland🇩🇰Krypto-Steuern Dänemark🇸🇪Krypto-Steuern Schweden🇳🇴Krypto-Steuern Norwegen🇵🇱Krypto-Steuern Polen🇨🇿Krypto-Steuern Tschechien🇸🇰Krypto-Steuern Slowakei🇭🇷Krypto-Steuern Kroatien🇸🇮Krypto-Steuern Slowenien🇭🇺Krypto-Steuern Ungarn🇬🇷Krypto-Steuern Griechenland🇵🇹Krypto-Steuern Portugal🇷🇴Krypto-Steuern Rumänien🇧🇬Krypto-Steuern Bulgarien🇪🇪Krypto-Steuern Estland🇱🇻Krypto-Steuern Lettland🇱🇹Krypto-Steuern Litauen🇱🇺Krypto-Steuern Luxemburg🇲🇹Krypto-Steuern Malta🇨🇾Krypto-Steuern Zypern🇱🇮Krypto-Steuern Liechtenstein🇮🇱Crypto Tax Israel🇮🇳Crypto Tax Indien🇸🇬Crypto Tax Singapur🇭🇰Crypto Tax Hongkong🇨🇳Crypto Tax China🇯🇵Crypto Tax Japan🇰🇷Crypto Tax Südkorea🇹🇭Crypto Tax Thailand🇲🇾Crypto Tax Malaysia🇵🇭Crypto Tax Philippinen🇮🇩Crypto Tax Indonesien🇦🇺Crypto Tax Australien🇳🇿Crypto Tax Neuseeland🇨🇦Crypto Tax Kanada🇲🇽Crypto Tax Mexiko🇧🇷Crypto Tax Brasilien🇦🇷Crypto Tax Argentinien🇨🇱Crypto Tax Chile🇿🇦Crypto Tax Südafrika🇷🇺Crypto Tax Russland🇹🇷Crypto Tax Türkei🇦🇪Crypto Tax Dubai/VAE