Quick Answer

The RSU tax trap for H1B and OPT holders isn’t about the grant—it’s about residency status timing and the foreign earned income exclusion myth. You will pay U.S. taxes on RSUs if you’re a U.S. resident for tax purposes, regardless of visa type. The problem isn’t your payroll setup; it’s the assumption that physical presence outside the U.S. lets you defer or avoid tax liability on vested shares.

Visa PM RSU Tax Implications: H1B and OPT Holders Guide to Tech Compensation

TL;DR

The RSU tax trap for H1B and OPT holders isn’t about the grant—it’s about residency status timing and the foreign earned income exclusion myth. You will pay U.S. taxes on RSUs if you’re a U.S. resident for tax purposes, regardless of visa type. The problem isn’t your payroll setup; it’s the assumption that physical presence outside the U.S. lets you defer or avoid tax liability on vested shares.

This is one of the most common Product Manager interview topics. The 0→1 PM Interview Playbook (2026 Edition) covers this exact scenario with scoring criteria and proven response structures.

Who This Is For

This is for H1B and F-1 OPT holders working as product managers at U.S. tech companies who receive RSUs as part of their compensation. It applies particularly to those who came from India or China, joined via OPT, converted to H1B, and now face RSU vesting while planning eventual departure or maintaining cross-border status. You’re likely earning $130K–$220K total comp at a FAANG or mid-sized tech firm and are realizing that “tax equalization” doesn’t exist for non-resident employees.

Do H1B and OPT Holders Pay Taxes on RSUs?

Yes, H1B and OPT holders pay U.S. income tax on RSU vesting if they are considered a U.S. resident for tax purposes under the substantial presence test. The key determinant isn’t your visa—it’s how many days you’ve been in the U.S. over the past three years. Once you meet the test, typically after 183 days across the three-year window, you’re taxed like a U.S. citizen on worldwide income, including RSUs.

In a typical debrief at Google, a hiring committee paused an offer rescission not over salary but because the candidate—on OPT, transitioning to H1B—claimed he’d “only pay Indian taxes” on future vesting. The tax team flagged it immediately. Residency status, not citizenship or visa type, triggers tax liability.

Not all international employees are non-residents. But many believe their F-1 or H1B status automatically classifies them as non-resident aliens (NRAs). Wrong. After passing the substantial presence test, you become a resident alien (RA), and your RSU gains are fully taxable at ordinary income rates upon vesting.

Not the company’s responsibility to track your tax residency, but your own.

Not a deferral opportunity, but a compliance risk if ignored.

Not tax avoidance via offshore accounts—it’s reportable under FATCA and FBAR.

> 📖 Related: Remote PM Interview Tips for Visa Holders in the USA: Navigating H1B and OPT

What’s the Difference Between Resident and Non-Resident Tax Status for RSUs?

Resident aliens pay tax on RSU vesting at their marginal income tax rate, with federal, state, and FICA taxes withheld. Non-resident aliens pay tax only on U.S.-source income but face 30% withholding (or treaty rate) on RSU gains, with no state tax in most cases. The gap is structural, not marginal.

At Meta in 2021, a PM on H1B had her second RSU tranche vest while temporarily in India. Payroll processed it as a resident alien, withholding 22% federal + 6% California state. She didn’t contest it—she’d passed the substantial presence test in Year 2. Had she remained an NRA, the same vest would have triggered 30% federal withholding and zero state tax. But she wasn’t; she’d spent 120+ days in the U.S. for three straight years.

Resident status means:

  • Ordinary income tax on vest value
  • State tax (if applicable)
  • Social Security and Medicare (FICA) applied to salary, not RSUs, unless misclassified

Non-resident status means:

  • 30% withholding on vest value (or lower treaty rate, e.g., India’s 15%)
  • No state tax
  • No FICA on RSUs
  • But no standard deduction, no credits, and restricted filing options

The trap? You don’t get to “choose” NRA status after meeting the test. The IRS determines it, and companies follow IRS rules.

Not about where you vest, but where you’re tax-resident.

Not about payroll location, but IRS-defined presence.

Not a loophole in remote work—it’s tracked via I-983, travel logs, and W-2s.

When Does Substantial Presence Trigger RSU Tax Liability?

You become a U.S. tax resident if you’re physically present in the U.S. for 31 days in the current year and 183 days over a three-year period, calculated as: all days in Year 0 + 1/3 of Year -1 + 1/6 of Year -2. Once triggered, RSU vesting is taxed immediately at fair market value, just like for citizens.

A PM at Amazon on F-1 OPT from 2019–2021 spent summers in Seattle interning, then full-time post-graduation. By early 2021, she’d been in the U.S. 120 days in 2019, 150 in 2020, and 40 in 2021. The math: 40 + (150/3) + (120/6) = 40 + 50 + 20 = 110—under 183. But by April 2021, she hit 183 cumulative. Her May 2021 RSU vest triggered full U.S. tax treatment.

Most people miscalculate because they assume the clock starts on H1B approval. It doesn’t. Days on F-1 count. CPT, OPT, even tourist visits pre-degree—counted if they occurred during the three-year window.

Not the visa start date that matters, but aggregate presence.

Not partial-year exemption after entry—it’s pro-rated but still taxable.

Not avoidance through short trips abroad—it’s annual totals that bind.

> 📖 Related: Review of MyVisaJobs.com for H1B Employer Data: Is It Reliable in 2026

How Do Tax Treaties Affect RSU Withholding for Indian and Chinese Nationals?

U.S. tax treaties with India and China allow reduced withholding rates on RSU vesting for non-resident aliens—15% for India, 10% for China—but only if the employee hasn’t become a U.S. tax resident. Once resident, treaties no longer apply. The benefit is narrow and time-bound.

At Microsoft in 2020, a PM from Beijing on OPT had first RSU vest in December. Payroll applied 30% NRA withholding. He appealed, citing the U.S.-China treaty. Tax team recalculated: he’d spent 90 days in 2018, 180 in 2019, 50 in 2020. Calculation: 50 + (180/3) + (90/6) = 50 + 60 + 15 = 125—under threshold. Treaty applied. Final withholding: 10%.

But by Q2 2021, he’d surpassed 183. June vesting triggered full U.S. rates—22% federal, 8% Washington state (not withheld but reportable), no treaty.

The moment you cross into resident status, treaty protections vanish. No retroactive relief. No proration.

Not a permanent discount, but a phase-out window.

Not applicable post-residency, even if you return home later.

Not automatic—you must file Form 8233 to claim treaty benefits, and employers often delay or reject if paperwork is late.

What Happens to Unvested RSUs If You Leave the U.S. or Change Visa Status?

Unvested RSUs are not taxed until vesting, but leaving the U.S. doesn’t freeze tax liability. If you’re a U.S. tax resident when RSUs vest—even if abroad—you owe U.S. taxes. Remote vesting ≠ tax exemption.

In 2023, a Stripe PM on H1B transferred to Dublin after two years. His third RSU tranche vested three months later while he was in Ireland. Stripe processed it as U.S.-source income. Because he’d been a resident alien in the prior year and hadn’t filed Form 8857 (closer connection exception), IRS treated him as a deemed resident for part of the year. The vest was taxed at 22% federal, plus California 8%, because his grant was under California law.

You can’t avoid tax by physically leaving. Residency rules follow you for part-year treatment. The “closer connection exception” exists—but requires filing Form 8857 by the due date, proving stronger ties to another country. Few succeed.

Not departure that resets status, but formal IRS determination.

Not automatic non-residency after visa end—there’s a mid-year transition rule.

Not company policy that governs tax, but IRS code.

How Should Visa Holders Plan RSU Liquidation and Repatriation?

Sell at vest to avoid double taxation. Holding post-vest creates capital gains risk, but repatriation across borders adds wire fees, FOREX costs, and home-country tax exposure. Most Indian and Chinese nationals repatriate via NRO accounts, incurring 15–20% effective cost from fees, delay, and reporting.

A PM at Uber liquidated 1,000 shares at $50 vest value ($50K total). After 22% federal, 8% state, and $1.5K payroll fee, take-home was $35.5K. Sent to India via SWIFT: received ₹28.4 lakh at ₹80/$, but bank charged 1.2%. Then NRO account blocked for “large inbound.” Took 17 days to unfreeze.

Better path:

  • Sell at vest
  • Pay U.S. taxes
  • Transfer net proceeds via Wise or Mercury for lower fees
  • Report as foreign income in home country if required

Not holding for long-term gains—you’ll likely face U.S. exit tax or home-country wealth tax.

Not wiring full gross amounts—always use net after tax.

Not assuming home banks will clear large deposits—it’s a compliance red flag.

Preparation Checklist

  • Track your U.S. entry/exit dates across three years using a spreadsheet or tool like Global Mobility Tracker
  • Confirm your tax residency status annually with payroll or an international tax CPA
  • File Form 8233 before your first RSU vest if you’re an NRA and want treaty benefits
  • Coordinate with your employer’s stock administration team on withholding elections
  • Work through a structured preparation system (the PM Interview Playbook covers H1B/OPT tax nuances in the compensation negotiation chapter, with real HC debrief examples from Google and Meta)
  • Plan for state tax even if you’re remote—your vest location may bind liability
  • Notify HR and payroll of any relocation, even temporary, to avoid misclassification

Mistakes to Avoid

BAD: Assuming OPT days don’t count toward substantial presence. They do. A candidate at LinkedIn in 2022 argued his 140 OPT days in 2019 were “training time” and shouldn’t count. IRS guidance is clear: all days present count unless exempt (diplomats, etc.).

GOOD: Logging every U.S. day from arrival, including short visits pre-OPT. Use I-94 records to verify.

BAD: Not filing Form 8857 when leaving mid-year. A PM at Salesforce moved to Canada in August 2021, assumed he was non-resident. April 2022 RSU vest triggered full U.S. tax. He hadn’t filed 8857. Owed $18K in unexpected tax.

GOOD: Filing Form 8857 by April 15 of the following year, proving closer ties to home country.

BAD: Transferring RSU proceeds to personal accounts in home country without declaring them. Indian tax authorities now flag unreported USD inflows. A PM in Hyderabad was audited after three straight years of $40K+ deposits from U.S. stock sales. Fined 120% of tax due.

GOOD: Reporting all foreign income in Schedule FSI and paying advance tax to avoid penalty.

FAQ

Are RSUs taxed differently for H1B vs. OPT holders?

No. Tax treatment depends on tax residency, not visa type. Both H1B and OPT holders become resident aliens after passing the substantial presence test. Once that happens, RSU taxation is identical to U.S. citizens. The difference is timing—OPT holders often start earlier, accumulating days faster.

Can I avoid RSU taxes by going back to my home country before vesting?

No. If you’re a U.S. tax resident when RSUs vest, you owe U.S. taxes—even abroad. Physical location at vest doesn’t matter. The IRS taxes resident aliens on worldwide income. Leaving the U.S. doesn’t exempt you unless you formally establish non-residency with the IRS using Form 8857.

Do I pay tax in both the U.S. and my home country on RSUs?

Possibly. The U.S. taxes first at vest. Your home country may tax again on receipt or sale. India, for example, taxes RSU gains as “salary” or “capital gains” depending on holding period. Use Form 67 and claim foreign tax credit to offset double taxation—but file both returns.


Ready to build a real interview prep system?

Get the full PM Interview Prep System →

The book is also available on Amazon Kindle.

Related Reading