US crypto tax for nonresident aliens filing a 2025 return
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.
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:
| Status | Federal starting point | Typical return |
|---|---|---|
| Resident alien | Generally taxed like a US citizen on worldwide income, including digital-asset income and gains | Form 1040 |
| Nonresident alien | Generally taxed on effectively connected income and specified US-source income | Form 1040-NR when a filing requirement exists |
| Dual-status alien | Resident and nonresident rules apply to different portions of the year | Dual-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.
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:
- F, J, M or Q students: qualifying student days are generally excluded during no more than five calendar years, subject to the detailed rules.
- J or Q teachers and trainees: the usual prior-year limitation differs from the student rule; Publication 519 and Form 8843 instructions must be applied to the person's history.
- H-1B workers: days normally count toward substantial presence. H-1B status does not automatically make every holder a resident on the first day or every year.
- Closer connection or treaty position: these are separate claims with eligibility, disclosure and timing requirements; they are not automatic consequences of keeping a foreign home.
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.
| Category | General treatment | Reporting starting point |
|---|---|---|
| ECI | Net income after allowable connected deductions; graduated rates generally apply | Applicable schedules flowing to Form 1040-NR |
| US-source FDAP not ECI | Generally 30% on gross income unless a treaty provides a lower rate | Schedule NEC (Form 1040-NR) |
| Capital gain not ECI | Special source, presence and treaty rules; not automatically FDAP | Schedule NEC when taxable |
| Capital gain that is ECI | Connected gain/loss rules and net taxation | Schedule 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.
| Event | What the report can calculate | What still needs tax analysis |
|---|---|---|
| Investment sale or crypto-to-crypto exchange | Proceeds, basis, holding period and gain/loss | Source, current-year presence, ECI and treaty treatment |
| Payment for services | USD fair market value when received and later basis | Where services were performed, employment/business status and withholding |
| Mining operation | Receipts, costs and disposals | Whether activities constitute a US trade or business and where services/operations occur |
| Staking reward | Receipt time, dominion-and-control evidence, fair value and later disposal | International source and ECI/other-income classification on the taxpayer's facts |
| DeFi yield, lending or liquidity position | Cash flows and token movements | Legal rights, income character, source and whether an exchange occurred |
| Futures, perpetuals or options | Contract P&L, fees and opening/closing history | Contract 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.
- Reconcile Form 1099-DA proceeds to exchange exports and wallet transactions.
- Do not treat a blank basis field as verified zero basis.
- Retain Forms W-2, 1042-S, 1099 and withholding statements.
- Keep passport travel days, I-94 history, visa/status documents and prior-year Form 8843 filings.
- Document where services and business activities were physically performed.
- Keep treaty-residence evidence and Form 8833 analysis where disclosure is required.
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
- Build the travel calendar: count actual US days and identify potentially excluded days for all three test years.
- Determine annual status: apply green-card, substantial-presence, exception, treaty and dual-status rules.
- Inventory events: separate capital disposals, services, rewards, mining, DeFi, derivatives and own-wallet transfers.
- Calculate tax facts: determine USD value, proceeds, adjusted basis, fees, holding period and realized result.
- Classify international facts: determine source, ECI, US business connection, current-year presence and treaty position.
- Reconcile statements: match 1099-DA, 1042-S, W-2 and broker exports without inventing missing basis.
- Select the return path: Form 1040, Form 1040-NR or a dual-status filing, with the applicable schedules.
- 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
- IRS Publication 519: US Tax Guide for Aliens (2025)
- IRS: substantial-presence test
- IRS Form 8843: excluded days statement (2025)
- IRS: 2025 Instructions for Form 1040-NR
- IRS: characterization of NRA income
- IRS: effectively connected income
- IRS: digital-assets filing hub
- IRS: understanding Form 1099-DA
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
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.