Crypto on F-1, OPT or H-1B: Buying, Trading, Staking and Mining, and How Each Is Taxed
Owning Bitcoin on a student visa is generally treated as investing. Mining rigs, validator nodes and the 183-day capital-gains rule for nonresidents are where it gets complicated.

Part of our guide to US taxes on F-1, OPT and H-1B.
Generally yes: F-1 students can buy crypto, and so can people on OPT, STEM OPT and H-1B. No immigration rule bars it, and buying and holding coins with your own money is ordinarily treated as investing, not work. The status risk starts when crypto looks like a job or a business: mining rigs, validator nodes, trading for others or getting paid in tokens. Taxes are a separate question that turns on whether you are a nonresident or resident alien for tax purposes, not on your visa.
Status as of November 1, 2026: no immigration regulation or SEVP or USCIS guidance we found mentions crypto, so the general employment rules apply (in effect). The IRS treats digital assets as property (in effect), and brokers, including US exchanges, report on Form 1099-DA: gross proceeds for transactions from January 1, 2025, and cost basis for certain transactions from January 1, 2026 (in effect).
Can F-1 students buy crypto? The short answer by status
F-1, OPT, STEM OPT and H-1B holders can generally buy, hold and sell cryptocurrency for their own account, because owning property is not employment. What can break status is crypto activity that amounts to unauthorized work: operating a mining or validator business, trading for others, or accepting crypto as pay from anyone who is not an authorized employer.
The rule for every visa type is in 8 CFR 214.1(e): "Any unauthorized employment by a nonimmigrant constitutes a failure to maintain status." For students, the Study in the States work page spells out the consequence: if your DSO knows you are working without permission, "they must report it through SEVIS, meaning your SEVIS record will be terminated."
No rule sets a trade count, dollar threshold or hours test. The question is whether you are managing your own property or performing services and running a business. Our guide to investing in stocks versus day trading on F-1, OPT and H-1B draws that line for brokerage accounts. Crypto adds staking and mining, and that is where the gray areas live.
Crypto activities by risk (as of 2026-11)
| Activity | Immigration read (our reading, not a ruling) | How the IRS treats it |
|---|---|---|
| Buy and hold | Investing; least scrutiny | No tax until you sell, swap or spend |
| Frequent trading for your own account | Investing, with more questions the more it resembles a full-time occupation | Each sale or swap is a taxable disposition |
| Swapping coins or paying in crypto | Using your own property; not work in itself | Taxable disposition, even with no dollars involved |
| Custodial staking (exchange runs the validator) | Gray area, closer to passive income | Income at fair market value when you gain control |
| Your own validator or staking pool, taking commissions | High risk: resembles a service business | Ordinary or business income |
| Mining with your own rigs | High risk once run for profit, at scale or through an LLC | Income when mined; self-employment tax for residents if a business |
| Paid in crypto for work, bounties or task airdrops | Employment; needs authorization like any job | Wages or self-employment income |
| Trading for others, paid signal groups or courses | Employment or a business | Business income |
The payment medium never changes the analysis. Getting paid in USDC for a design gig is the same as getting paid by check, so our guide to freelancing and 1099 work on F-1, OPT and H-1B applies in full.
Is crypto staking considered work on F-1?
No regulation or SEVP guidance answers this as of November 2026. Custodial staking, where you click "stake" and the exchange runs the validators, resembles holding an asset that earns a return. Running your own validator, with hardware, uptime duties and delegators paying you a commission, resembles operating a business, which F-1 does not authorize. That split is our reading, not an agency position, so describe anything beyond one-click staking to your DSO before you start.
The tax side is clearer. In Revenue Ruling 2023-14, the IRS held that "the fair market value of the validation rewards received is included in the taxpayer's gross income in the taxable year in which the taxpayer gains dominion and control over the validation rewards," including when you stake through an exchange. In June 2026, without relying on that ruling, the Tax Court held in Paschall v. Commissioner, T.C. Memo. 2026-46 that Cardano rewards earned through an exchange's staking service were taxable when received. It rejected the argument that staked tokens are self-created property that yields income only when sold, noting that the couple "were not owners or operators of a staking pool." That is a tax point, not an immigration ruling, and it says nothing about whether staking is work.
Crypto on an H-1B visa: can H-1B workers mine crypto?
Your H-1B authorizes work for the employer that petitioned for you, on the terms USCIS approved (see the USCIS H-1B page). Trading your own coins is ownership, not work. Mining is harder: rigs run for profit, a registered LLC, hashpower sold to a pool or machines hosted for others all look like self-employment, which H-1B does not cover. The routine path to a second paid job is a concurrent H-1B petition filed by that employer, and a side operation you run yourself has none. Talk to a licensed immigration attorney before you buy equipment or form an entity.
Three H-1B edge cases:
- H-4 spouses without an EAD cannot work, so a household mining or validator operation in the spouse's name carries the same risk.
- Laid off on H-1B. The discretionary grace period of up to 60 days is in effect as of 2026-11-01. Eliminating it is only proposed, with comments closing 2026-11-10 (Federal Register). Closing the comment period does not make it final; the current 60 days applies unless DHS publishes a final rule. Full-time trading or mining is not a new employer and does not preserve status.
- Token-paid side work. A bounty or audit fee paid in tokens is work for someone other than your petitioner.
Can OPT students trade crypto?
Yes, but trading your own coins is not OPT employment, so it does nothing for your unemployment clock. SEVP counts each day "without employer information" against the limit: 90 days on post-completion OPT and 150 days in aggregate with STEM OPT (Study in the States unemployment counter).
A crypto business can count only in narrow cases. SEVP's 2010 Policy Guidance 1004-03, still posted by ICE, says a student on OPT "may start a business and be self-employed" with "the proper business licenses" and a business "related to the student's degree program," and post-completion OPT work must be at least 20 hours a week. A computer science graduate building blockchain software may have a field-related argument; mining coins for income is hard to describe as practical training in a degree field. Ask your DSO before you report any crypto venture as OPT employment.
STEM OPT is stricter. Study in the States' STEM OPT eligibility page says "F-1 students cannot qualify for STEM OPT extensions unless they will be bona fide employees of the employer signing the Form I-983." It allows a start-up "so long as all regulatory requirements are met," but adds that "F-1 students may not provide the employer attestation (i.e., signatures) on their own behalf." A solo trading or mining operation where you are your own employer does not fit (our reading).
Crypto taxes for nonresident aliens: do you owe tax on gains?
Start with tax status, not visa. The substantial presence test decides it: F-1 students are usually "exempt individuals" who skip their days for their first five calendar years, so most file Form 1040-NR as nonresidents, while most H-1B workers become residents once they meet the test.
The IRS digital assets page sets the base rule: "For U.S. tax purposes, digital assets are considered property, not currency." For nonresidents, Publication 519 (2025 edition, chapter 4) adds the 183-day rule:
"If you were in the United States for 183 days or more during the tax year, your net gain from sales or exchanges of capital assets is taxed at a 30% (or lower treaty) rate."
Below 183 days, Pub 519 says capital gains are tax exempt unless effectively connected with a US trade or business. Four details matter for crypto:
- Exempt days still count here (our reading). The 183-day rule counts days you "were in the United States" and, unlike the substantial presence test, does not tell you to skip exempt-individual days. Confirm this with a tax professional.
- Excess losses vanish. Pub 519 says to ignore "capital losses in excess of capital gains" and any capital loss carryover.
- Source follows your tax home. Gain on personal property "generally has its source in the United States if you have a tax home in the United States." Pub 519 does not mention digital assets, so applying this to crypto is the common reading, not stated guidance.
- The trading safe harbor may not reach crypto. Pub 519 says that if trading in "stocks, securities, or commodities" through a US broker, or for your own account, is your only US business activity, you are not engaged in a US trade or business, but for commodities it covers only those "usually traded on an organized commodity exchange." Crypto is not addressed. That matters for heavy traders: income effectively connected with a US business is taxed at graduated rates, not under the 183-day rule.
Staking and mining rewards are harder still. Pub 519 does not say where they are sourced for a nonresident, which decides whether they are taxed at 30%, taxed as business income or not taxed by the US. A mining setup here may itself be a US business. One relief: "Nonresident aliens are not subject to self-employment tax" absent a social security agreement. Your country's treaty in Publication 901 may also change the rate. Take these questions to a tax professional who handles nonresident returns.
Common misconception: "Nonresidents don't pay tax on capital gains, so my crypto profits are tax-free."
Correction: under Pub 519 (2025 edition), capital gains not connected with a US business are exempt only if you were in the US fewer than 183 days that year. Pub 519's 183-day rule has no carve-out for exempt-student days (our reading), so a student on campus or on OPT for most of the year can owe 30% (or a lower treaty rate) on net US-source gains, reported on Schedule NEC of Form 1040-NR.
How resident aliens report crypto (Form 8949)
Resident aliens, including most H-1B workers and F-1 students who meet the substantial presence test after their exempt years, report crypto like US citizens: worldwide, with no 183-day rule. Sales, swaps and spending go on Form 8949 and Schedule D; assets held one year or less are short-term, longer is long-term. Staking and mining rewards go on Schedule 1, or Schedule C for a business. Notice 2014-21 says mined coins are income at "fair market value ... as of the date of receipt" and that mining run as a trade or business is subject to self-employment tax.
Nonresident vs resident crypto tax (as of 2026-11)
| Item | Nonresident alien (Form 1040-NR) | Resident alien (Form 1040) |
|---|---|---|
| Gains, under 183 days in the US | Generally tax-exempt (not effectively connected) | Taxed; no 183-day rule |
| Gains, 183+ days in the US | Net US-source gain at 30% or treaty rate | Short-term at ordinary rates, long-term at capital-gains rates |
| Excess losses | Ignored; no carryover | Offset gains, within IRS limits |
| Staking and mining rewards | Sourcing unclear; get advice | Ordinary income when received |
| Self-employment tax on mining | Generally none | Yes, if a trade or business |
| Where gains go | Schedule NEC | Form 8949 and Schedule D |
| Form to give your exchange | W-8BEN | W-9 |
Residents should also check whether a foreign exchange account triggers the duties in our guide to FBAR and FATCA for visa holders, and the year you switch from nonresident to resident can be a dual-status year.
Worked example: the same coins under two regimes
Hypothetical: you entered the US in August 2022 for a master's, graduated in May 2024 and are now on STEM OPT.
| Tax year | Likely tax status (Pub 519; our reading) | What happens to crypto sales |
|---|---|---|
| 2022 | Exempt student, so nonresident; arrived in August, under 183 days | Gains not connected with a US business are tax-exempt |
| 2023-2026 | Still within five exempt calendar years, so nonresident; 183+ days each year if you stayed | Net US-source gains taxed at 30% (or treaty rate) on Schedule NEC; excess losses lost |
| 2027 | No longer exempt unless an exception applies; resident if present 183 days | Form 8949 and Schedule D at resident rates; OPT wages also become subject to FICA |
Say you sold ETH at a $4,000 gain and SOL at a $1,500 loss in 2026. If both are US-source and no treaty applies, the $2,500 net gain costs $750 at 30%. Had the loss been $5,000, the $1,000 excess would disappear, not carry into 2027. The 2026 Form 1040-NR is due 2027-04-15 if you had withheld wages, otherwise 2027-06-15 (our arithmetic; the 2026 instructions are not posted). In this example the regime would flip on January 1, 2027 if you meet the substantial presence test for 2027, so ask a tax professional about timing before you sell, not after.
What to do before you file
- Determine your tax status with the substantial presence test in IRS Publication 519, chapter 1, counting your exempt student years.
- Export a full transaction history (CSV) from every exchange and wallet, including staking rewards with dates and US-dollar values.
- Check the tax form on file with each US platform: Form W-8BEN is the form for a nonresident alien, Form W-9 for a US person, including a resident alien.
- Reconcile any Form 1099-DA (IRS page) against your records; a missing 1099-DA does not mean nothing to report.
- Answer the digital asset question on Form 1040-NR or Form 1040.
- Report gains on Schedule NEC (nonresident) or Form 8949 and Schedule D (resident); our guide to filing Form 1040-NR on F-1 or OPT covers the rest of the return.
- File Form 8843 for every year you exclude days as an exempt individual.
- Ask your DSO (F-1, OPT, STEM OPT) or a licensed immigration attorney (H-1B, H-4) before any validator, mining or token-paid work, and a nonresident tax professional about sourcing and treaties.
Common mistakes
- Treating swaps as non-events. Trading one coin for another is a reportable disposition.
- Assuming no 1099-DA means no income. The IRS says to report digital asset transactions "whether or not they result in a taxable gain or loss."
- Calling a validator business passive. Hardware, uptime duties and delegator commissions look like a service business.
- Forming an LLC to mine on H-1B or STEM OPT. An entity makes it look more like self-employment, not less.
- Taking tokens as pay from a non-employer. It is still payment for work.
- Leaving a W-8BEN on file after becoming a resident. Your exchange keeps treating you as a foreign person.
Frequently asked questions
Can F-1 students invest in cryptocurrency?
Generally yes. As of November 2026 no F-1 regulation or SEVP guidance mentions crypto, and buying and holding it with your own money is ordinarily treated as investing, not employment. The risk starts when the activity looks like a job or a business, such as mining rigs, validator nodes, trading for others or being paid in crypto for work.
Is crypto staking considered work on F-1?
No rule answers this directly as of November 2026. One-click staking on an exchange that runs the validators resembles earning a return on an asset you own, while operating your own validator or staking pool looks more like a business, which F-1 does not authorize. The IRS taxes staking rewards as income when you gain control of them (Rev. Rul. 2023-14), so ask your DSO before you scale up.
Do nonresident aliens pay tax on crypto gains?
Sometimes. Under IRS Publication 519 (2025 edition), a nonresident's capital gains not connected with a US business are generally tax-exempt if you were in the US fewer than 183 days that year, but net US-source gains are taxed at 30% (or a lower treaty rate) if you were here 183 days or more. Pub 519's 183-day rule has no carve-out for exempt-student days (our reading), so an F-1 student who is a nonresident but present most of the year can owe that 30%.
Can H-1B workers mine crypto?
No regulation mentions crypto mining. Your H-1B authorizes work only for your sponsoring employer, and 8 CFR 214.1(e) treats any unauthorized employment as a failure to maintain status. Mining run for profit, through an LLC or by selling hashpower can look like self-employment, so talk to a licensed immigration attorney before you buy equipment. For tax, IRS Notice 2014-21 treats mined coins as income at fair market value on the date of receipt.
Do I report crypto on my 1040-NR?
Yes, if during the year you sold, swapped or spent crypto, or received it as pay, a reward, or from staking or mining. Form 1040-NR asks a yes-or-no digital asset question, and capital gains not connected with a US business go on Schedule NEC. If you only bought with dollars and held, or moved coins between your own wallets without paying a fee in crypto, the IRS says to answer No.
Sources
- IRS: Digital assets (reviewed 2026-09-02); Publication 519 (2025); Rev. Rul. 2023-14; Notice 2014-21; Form 8949; Form 1099-DA; Publication 901
- US Tax Court: Paschall v. Commissioner, T.C. Memo. 2026-46 (filed 2026-06-04; copy posted by the IRS)
- eCFR: 8 CFR 214.1
- DHS and ICE: Study in the States work page; unemployment counter; STEM OPT eligibility; Policy Guidance 1004-03
- USCIS: H-1B Specialty Occupations
- Federal Register: Eliminating the Discretionary 60-Day Grace Period (proposed rule, published 2026-09-11; comments close 2026-11-10)
How we checked this: we read the IRS, Tax Court, eCFR, Study in the States, ICE, USCIS and Federal Register pages above on 2026-11-01 and 2026-11-02, including Publication 519 (2025 edition) chapters 1 and 4 and its self-employment tax section, and checked every quotation against the source text.
This is general information, not legal or tax advice; your own I-20, EAD, I-797 and I-94 govern, and your DSO, a licensed immigration attorney or a tax professional who handles nonresident returns should review your facts.
If you would rather spend your energy on the job search than on decoding status rules, F1Jobs works with international students and professionals looking for US roles with visa sponsorship.
Frequently asked questions
Can F-1 students invest in cryptocurrency?
Generally yes. As of November 2026 no F-1 regulation or SEVP guidance mentions crypto, and buying and holding it with your own money is ordinarily treated as investing, not employment. The risk starts when the activity looks like a job or a business, such as mining rigs, validator nodes, trading for others or being paid in crypto for work.
Is crypto staking considered work on F-1?
No rule answers this directly as of November 2026. One-click staking on an exchange that runs the validators resembles earning a return on an asset you own, while operating your own validator or staking pool looks more like a business, which F-1 does not authorize. The IRS taxes staking rewards as income when you gain control of them (Rev. Rul. 2023-14), so ask your DSO before you scale up.
Do nonresident aliens pay tax on crypto gains?
Sometimes. Under IRS Publication 519 (2025 edition), a nonresident's capital gains not connected with a US business are generally tax-exempt if you were in the US fewer than 183 days that year, but net US-source gains are taxed at 30% (or a lower treaty rate) if you were here 183 days or more. Pub 519's 183-day rule has no carve-out for exempt-student days (our reading), so an F-1 student who is a nonresident but present most of the year can owe that 30%.
Can H-1B workers mine crypto?
No regulation mentions crypto mining. Your H-1B authorizes work only for your sponsoring employer, and 8 CFR 214.1(e) treats any unauthorized employment as a failure to maintain status. Mining run for profit, through an LLC or by selling hashpower can look like self-employment, so talk to a licensed immigration attorney before you buy equipment. For tax, IRS Notice 2014-21 treats mined coins as income at fair market value on the date of receipt.
Do I report crypto on my 1040-NR?
Yes, if during the year you sold, swapped or spent crypto, or received it as pay, a reward, or from staking or mining. Form 1040-NR asks a yes-or-no digital asset question, and capital gains not connected with a US business go on Schedule NEC. If you only bought with dollars and held, or moved coins between your own wallets without paying a fee in crypto, the IRS says to answer No.