Can H-1B Visa Holders Invest in Stocks or ETFs? (2026)

You transitioned from OPT to H-1B. Your salary went up, your tax situation changed, and someone mentioned you should start investing more seriously now. Before you do, you want to confirm: can H-1B holders actually invest in stocks and ETFs without any immigration risk? And how does your tax situation on H-1B compare to when you were on OPT?

Quick answer: Yes, H-1B visa holders can invest in US stocks, ETFs, mutual funds, index funds, bonds, and REITs. Investing is not employment under immigration law, and USCIS places no restrictions on passive investing for H-1B holders. The bigger shift from OPT is tax-related: most H-1B holders are resident aliens for tax purposes, which changes how investment gains and dividends are taxed, often more favorably than on OPT.

What You Need to Know First

H-1B status and investing: USCIS defines unauthorized employment as providing services to an employer without proper authorization. Receiving dividends, capital gains, or interest from investments you own is passive income, not a service performed for wages. Investing has no bearing on your H-1B status whatsoever.

The key tax shift from OPT to H-1B: Most F-1/OPT students are non-resident aliens (NRAs) for their first 5 calendar years in the US. Once you transition to H-1B and meet the Substantial Presence Test, you become a resident alien for tax purposes. This changes everything about how your investments are taxed: in most cases, for the better.

As a resident alien:

  • You file Form 1040 (not 1040-NR)
  • You pay capital gains tax at 0%, 15%, or 20% depending on income and holding period
  • Dividends are taxed as qualified dividends at the same favorable rates
  • You get the standard deduction ($14,600 single filer, 2025)
  • You can contribute to a Roth IRA, 401(k), and HSA with full benefits

This is a meaningful upgrade from NRA status, where long-term gains might not be taxed but dividends were withheld at 30%. Read our guide on if international students can invest in US stocks on F-1.

⚠️ Substantial Presence Test: If you became H-1B recently but spent fewer than 183 weighted days in the US this calendar year, you might still be an NRA for this tax year. Run the SPT calculation or use Sprintax to confirm. This is rare for most H-1B holders who have been in the US since F-1.


Yes: unambiguously and without qualification.

The SEC, IRS, and USCIS all place zero visa-based restrictions on owning US securities. H-1B visa holders can own:

  • Individual US stocks (Apple, Google, Microsoft, etc.)
  • US ETFs (VTI, VOO, QQQ, etc.)
  • Mutual funds
  • Index funds
  • Bonds (US Treasuries, corporate bonds)
  • REITs (Real Estate Investment Trusts)
  • Options (check brokerage eligibility)
  • Cryptocurrency (through licensed US exchanges)

The only caveat that applies to H-1B holders specifically: day trading as a primary occupation could theoretically raise a question about whether you're engaged in unauthorized self-employment. In practice, this threshold is far beyond what anyone casually trading means. Buying and holding an ETF portfolio while working a full-time H-1B job is 100% unambiguous.


How Are Investments Taxed on H-1B?

This is where things get significantly better compared to your OPT years. As a resident alien (which most H-1B holders are), you're taxed on investments the same way a US citizen is.

Capital Gains Tax

Holding Period Tax Rate (2025, single filer)
Under 1 year (short-term) Ordinary income rate (10–37%)
Over 1 year (long-term), income under $47,025 0%
Over 1 year, income $47,025–$518,900 15%
Over 1 year, income over $518,900 20%

Most H-1B holders earning $80,000–$150,000 pay 15% on long-term capital gains. This is significantly more favorable than the short-term rate and dramatically better than the flat 30% NRA withholding on dividends you may have experienced on OPT.

Dividend Tax

As a resident alien, qualified dividends (paid by most US companies and ETFs held for the required period) are taxed at the same 0/15/20% rates as long-term capital gains, not at your ordinary income rate. This is one of the most favorable tax treatments in the US tax code.

Non-qualified dividends (REIT dividends, certain foreign dividends) are taxed at ordinary income rates.

Interest Income

Interest from US savings accounts, money market funds, and bonds is taxed as ordinary income, same as wages. As a resident alien, you owe tax on this at your marginal rate.


Which Accounts Can H-1B Holders Open?

As a resident alien, you have access to the full suite of US investment accounts:

Account H-1B Eligible? 2025 Contribution Limit Key Benefit
Taxable brokerage ✅ Yes No limit Maximum flexibility
Roth IRA ✅ Yes $7,000 Tax-free growth and withdrawals
Traditional IRA ✅ Yes $7,000 Tax deduction now, taxed at withdrawal
401(k) via employer ✅ Yes $23,500 Pre-tax, employer match
HSA (if on HDHP) ✅ Yes $4,300 single Triple tax advantage
529 plan ✅ Yes No limit (gift tax rules apply) Tax-free for education expenses

The 401(k) deserves special attention. If your H-1B employer offers a 401(k) with any employer match, this is the single highest-priority investment decision you face. A 50% or 100% match on your contributions is an immediate guaranteed return that no stock market investment can compete with. Contribute at least enough to capture the full match on day one. Read our guide on 401(k) for OPT workers leaving the US.


Which Brokerages Are Best for H-1B Holders?

As a resident alien, your brokerage options are essentially the same as a US citizen's. The NRA-specific limitations you may have encountered on OPT no longer apply.

Brokerage Notes for H-1B Holders
Fidelity Best overall: Roth IRA, zero-fee funds (FZROX), excellent service
Vanguard Best for pure index fund investing long-term
Charles Schwab Strong all-around, good for international investors
Interactive Brokers Best if you plan to move internationally or trade globally
Robinhood Fine for H-1B residents: the NRA problems don't apply once you're a resident

If you already have a brokerage account from your OPT days, you should update your tax status with the brokerage when you become a resident alien. Contact them to switch from Form W-8BEN (NRA form) to Form W-9 (resident form). This ensures your dividends are taxed at the correct qualified rate rather than the higher NRA withholding rate.


What Should H-1B Holders Actually Do With Investments?

The H-1B transition is a natural inflection point to get serious about long-term investing. Your income typically increases, your tax situation stabilizes, and if you're pursuing permanent residency, you're thinking about a longer US horizon.

A practical starting framework for H-1B investors:

  1. Capture your full 401(k) match first. If your employer matches 3%, contribute 3%. This is free money: take it all.

  2. Max out your Roth IRA if eligible. $7,000/year (2025). H-1B holders earning under $150,000 (single) qualify for the full contribution. Fidelity + FZROX is the simplest setup.

  3. Contribute more to 401(k) if you can. Up to $23,500 (2025). Pre-tax contributions reduce your taxable income now.

  4. Open a taxable brokerage for anything above those limits. Invest in broad index funds (VTI, VXUS, or equivalent) for long-term wealth building.

  5. Consider an HSA if your employer offers a high-deductible health plan. Triple tax advantage: contributions are pre-tax, growth is tax-free, withdrawals for medical expenses are tax-free. After age 65, it functions like a traditional IRA.


What Happens to Your Investments If Your H-1B Is Denied or You Leave the US?

Your investments stay exactly where they are. A change in visa status has zero legal impact on your brokerage accounts or retirement accounts.

If you leave the US:

  • Your accounts remain open
  • You continue to owe US tax on US-sourced investment income (dividends, gains from US real property)
  • You update your address with the brokerage
  • Some brokerages may restrict certain account features for non-US residents: Interactive Brokers is the most internationally flexible if this concerns you.

If you leave and become an NRA again (unlikely but theoretically possible in specific circumstances), you would need to update your Form W-8BEN status with the brokerage. Most people in this situation consult a tax attorney.


Real Student Scenarios

Priya's situation: Priya transitioned from OPT to H-1B in October. Her salary went from $68,000 to $95,000. She updated her W-8BEN to W-9 status at Fidelity in November, began contributing 6% to her employer's 401(k) (full match), and maxed out her Roth IRA for the year. Her first year of H-1B investing gave her $5,700 in 401(k) employer match, money she wouldn't have had by waiting.

Wei's situation: Wei had $12,000 in a Webull taxable account from his OPT days. When he transitioned to H-1B, he notified Webull and updated his tax status from W-8BEN to W-9. His dividend withholding dropped from 10% (treaty rate) to the qualified dividend rate of 15%: slightly higher, but he now gets the standard deduction and other resident benefits that more than compensate.

Sanjay's situation: Sanjay's H-1B employer offers a 401(k) with no match. He still contributes 10% of his salary ($5,800/year) for the pre-tax benefit: it reduces his taxable income and his effective federal tax rate drops by about 1.5 percentage points. Combined with his Roth IRA and taxable account at Fidelity, he has three separate investment buckets serving different tax purposes.


Common Mistakes to Avoid

1. Not updating your tax status at your brokerage when you become a resident alien. Fix: Contact your brokerage when you get your H-1B approved and have been in the US long enough to meet the SPT. Switch from W-8BEN to W-9. Failing to do this can result in continued 30% withholding on dividends instead of the qualified dividend rate.

2. Not contributing to your 401(k) because "I might leave the US." Fix: 401(k) funds can be withdrawn when you leave: you'll pay income tax plus a 10% early withdrawal penalty if under 59½, but you still get the money. Alternatively, you can roll it to an IRA and leave it growing. Forgoing employer match to avoid this is almost never mathematically correct.

3. Holding foreign ETFs that trigger PFIC rules. Fix: Stick to US-domiciled ETFs: VTI, VOO, VXUS, VT. Avoid foreign-domiciled versions of the same index even if they appear on US exchanges.

4. Day trading aggressively and treating it as a second job. Fix: Passive investing has no immigration implications. Extremely active trading that generates most of your income and is structured as a business could attract scrutiny. Long-term index investing avoids this entirely.

5. Ignoring the HSA if on a high-deductible health plan. Fix: The HSA triple tax advantage (deductible contribution, tax-free growth, tax-free medical withdrawals) is the single most tax-efficient account available to US investors. After age 65 it becomes a traditional IRA equivalent. Max it out every year you're eligible.


Bottom Line

H-1B visa holders have full access to every US investment account and every major brokerage, taxed the same as US citizens. The transition from OPT to H-1B is the right moment to get serious: capture the full 401(k) match on day one, max the Roth IRA every year, and invest the rest in a simple index fund portfolio at Fidelity or Vanguard. Your investing window in the US starts now: the earlier you start, the longer your money compounds.


The H-1B transition is one of the best financial moments in an immigrant professional's US journey: higher income, resident alien tax treatment, and access to the full spectrum of US investment accounts. The students who set up their 401(k) and Roth IRA in their first month on H-1B arrive at their green card process with a meaningful head start.


FAQ

Q: Can H-1B visa holders invest in US stocks and ETFs? A: Yes, completely legally. USCIS places no restrictions on passive investing for H-1B holders. Stocks, ETFs, mutual funds, index funds, bonds, and REITs are all accessible. Investing is not considered employment under immigration law.

Q: Are H-1B holders taxed as residents or non-residents on investments? A: The IRS provides detailed definitions for Resident Aliens and their tax obligations. Once you are an RA, your global income is subject to US tax, but you also gain access to standard tax-advantaged accounts like Roth IRAs and 401(k)s.

Q: Can H-1B visa holders contribute to a 401(k) or Roth IRA? A: Yes. H-1B holders who are resident aliens can contribute to a 401(k) through their employer (up to $23,500 in 2025), a Roth IRA (up to $7,000 if income is under $150,000), and an HSA if on a qualifying high-deductible health plan.

Q: What happens to a 401(k) or Roth IRA if an H-1B holder leaves the US? A: The accounts remain open. You can leave the money invested and let it grow, or withdraw it (subject to income tax and a 10% penalty if under 59½ for pre-tax accounts). A Roth IRA allows penalty-free withdrawal of contributions at any time. Many people roll their 401(k) to an IRA before leaving for more investment flexibility.

Q: Do H-1B holders need Form W-8BEN at a brokerage? A: No, once you are a resident alien, you complete Form W-9 (the standard US taxpayer form), not Form W-8BEN (which is for non-resident aliens). If you held a brokerage account on OPT with a W-8BEN on file, notify your brokerage when your residency status changes so they apply the correct tax treatment.

Ankit Karki

Written by Ankit Karki

Financial Educator & Former F-1 Student

Ankit Karki is a financial educator and former F-1 international student who lived through the exact challenges of navigating the US financial system. Having managed everything from opening a bank account with no SSN to optimizing credit card usage on a student budget, Ankit now writes extensively to help the international student community build strong financial foundations in the United States.

Connect on LinkedIn →

Disclaimer: This content is for informational and educational purposes only. Please consult a professional advisor for specific financial advice.