SettleinUS

Investing

Investing on a visa: what is allowed, and what is taxed

Last reviewed

Buying and holding investments is not employment. The real questions are what your brokerage will ask for, how your tax residency changes the bill, and where frequent trading starts to look like a job.

Some pages may contain affiliate links. If you sign up for a product or service through our links, we may earn a commission at no extra cost to you. We only recommend products we believe can genuinely help readers. Learn more on our Affiliate Disclosure page. Affiliate Disclosure.

Two separate questions: permission and tax

“Can I invest on a visa?” is really two questions, and blending them is where most of the confusion comes from. The first is an immigration question: does buying and holding investments count as work you are not authorised to do? The second is a tax question: how does the IRS treat your dividends and gains, and what will your brokerage withhold? The answers come from different rulebooks. Your visa category decides the first; your tax residency decides the second, and the two are related but not the same thing. This guide takes them one at a time.

Passive investing is not employment

US immigration law restricts employment — working for pay — not owning assets. Buying stocks, ETFs or mutual funds, holding them, collecting dividends and interest, and contributing to a 401(k) or an IRA is ownership, not labour. That is why H-1B, L-1, TN and F-1 holders routinely open brokerage accounts and enrol in employer retirement plans without creating an immigration problem. An H-1B ties you to a specific employer for the work you do. It says nothing about where you put the salary that employer pays you.

The same logic covers interest on a savings account, gains when you eventually sell, and dividends that arrive while you hold. None of it requires work authorisation, because none of it is a job.

Where the line is

The line is activity that starts to look like running a business rather than managing your own savings. Trading many times a day, every day, as your primary occupation; trading other people’s money; building a trading operation with paying clients or a registered entity — any of these can be characterised as self-employment, and self-employment is not authorised on an H-1B, an L-1 or an F-1 without separate permission.

The honest answer about where exactly that line sits is that USCIS has never published one. There is no trade count, no dollar threshold and no bright-line test separating “investing” from “unauthorised work”. The USCIS page on F-1 employment lists the categories of authorised work and does not mention investing at all. So the practical rule is this: if your activity is frequent enough that you would describe it as day trading, or you are tempted to treat it as your job, talk to an immigration attorney before you scale it up, not after.

What a brokerage will ask for

Opening an account is a compliance exercise for the firm. FINRA rules require a brokerage to verify your identity and collect your Social Security number or other taxpayer identification number, your address, your employment details, and enough about your finances and goals to judge what is suitable for you. In practice, expect to be asked for:

  • A Social Security number, or an ITIN if you are not eligible for an SSN. Some firms will not open an account on an ITIN alone, so ask first.
  • A US residential address and a government-issued photo ID. A passport is fine; a state ID or driver’s licence also works.
  • Your visa status, and at some firms a copy of the visa or your I-94 record.
  • A tax certification: Form W-9 if you are a resident alien for tax purposes, or Form W-8BEN if you are a nonresident alien.

That last item trips people up because the W-9 or W-8BEN choice is not about your visa; it is about your tax residency. A first- or second-year F-1 student is usually a nonresident alien, because days spent as a student do not count toward the substantial presence test for five calendar years — which is exactly why students are so often asked for a W-8BEN. Most H-1B and L-1 workers meet the substantial presence test after roughly six months in the country and sign a W-9. Some brokerages only open accounts for W-9 customers; others handle both but with different products. Check before you start the application rather than after it is rejected.

Tax follows tax residency, not visa type

Once your money is invested, how it is taxed depends on whether the IRS treats you as a resident alien or a nonresident alien for that year. Work that out first with the resident vs nonresident guide or the substantial presence calculator.

If you are a resident alien, you are taxed like a citizen: worldwide income, dividends and capital gains reported on Form 1040, with the same qualified-dividend and long-term capital gains treatment anyone else gets. Your brokerage sends you 1099 forms.

If you are a nonresident alien, two rules do most of the work. US-source dividends are generally taxed at a flat 30%, or a lower rate if a tax treaty between the US and your country provides one, and the brokerage withholds that tax at source based on the W-8BEN you filed. Capital gains on US stocks are generally exempt if you were in the US for fewer than 183 days during the year. If you were present 183 days or more, your net US-source capital gains are taxed at 30% or the lower treaty rate, and you report them on Schedule NEC of Form 1040-NR.

The catch is that this 183-day count is not the substantial presence test. It counts actual days, including days that the substantial presence test excludes. An F-1 student who spends the whole calendar year in the US is a nonresident alien for filing purposes, yet still meets the 183-day count for capital gains — the IRS says so explicitly for F, J, M and Q students. If you are in that position and expect to sell at a gain, factor the 30% in, check your treaty, and expect a Form 1042-S from the brokerage rather than a 1099.

Which account: taxable brokerage, 401(k) or IRA

Three containers hold most people’s investments, and they are taxed very differently. An employer 401(k) takes contributions straight from payroll, pre-tax or Roth, and many employers add a matching contribution. An IRA is one you open yourself, traditional or Roth, and it requires taxable compensation from work. A taxable brokerage account has no contribution limit and no special tax treatment, which also makes it the most flexible if you leave.

The order of priority is not controversial: if your employer matches 401(k) contributions, capture the full match first. It is an immediate return on your money that no fund choice can replicate, and unvested match is the only part you can lose by leaving early. After the match, the decision between an IRA and a taxable account depends mostly on how long you expect to stay — which is the subject of the Roth IRA guide. This site does not recommend particular investments or firms; it explains the mechanics so the questions you ask are the right ones.

Before you fund anything, ask what happens if you move

The most expensive mistake visa holders make is not a bad fund. It is discovering, the month before a flight home, that their brokerage will not deal with a non-US address. Ask these questions in writing before the first deposit:

  1. Will you keep my account open if I become a non-US resident? Firms range from “yes, unchanged” to “sell-only” to “we will close it”.
  2. Do you accept a foreign mailing address, and what paperwork changes when I switch from a W-9 to a W-8BEN?
  3. Can I keep a US bank account linked for withdrawals, and can you pay to a foreign bank if I cannot?
  4. For a 401(k) or IRA: what are my options at departure, and do you maintain IRAs for non-US residents?

The retirement-account version of this question has enough moving parts to need its own page: see what happens to your 401(k) if you leave the US.

If you also invest back home

Becoming a resident alien makes you a “US person” for reporting purposes, and that reaches accounts outside the US. If the combined value of your foreign bank, brokerage and mutual fund accounts exceeds the FBAR threshold at any point in the year, you must file FinCEN Form 114 — separately from your tax return, and regardless of whether the accounts produced any income. A second regime, FATCA, can require Form 8938 attached to your return on top of the FBAR. Penalties for missing either are severe relative to the effort of filing. Non-US mutual funds can also fall under complex US rules for passive foreign investment companies, which is a reason many people pause new contributions at home once they become US residents. The FBAR guide and the FATCA guide cover who files what.

Other guides on this site

This page covers whether and how you can invest. These take the next step:

Common questions

Frequently asked questions

Can H-1B holders invest in stocks?+

Yes. Buying and holding stocks, ETFs and mutual funds, and contributing to a 401(k) or IRA, is ownership rather than employment, so it does not conflict with H-1B status. You will need an SSN or ITIN and a US address to open a brokerage account, and your dividends and gains are taxed according to whether you are a resident or nonresident alien for the year.

Can F-1 students invest in stocks?+

Passive investing is generally fine on F-1 because it is not work. Students in their first five calendar years are usually nonresident aliens for tax purposes, so the brokerage will ask for Form W-8BEN and will withhold tax on dividends at 30% or a treaty rate. Frequent, business-like trading is a grey area because unauthorised employment ends F-1 status, so keep it passive or ask an immigration attorney first.

Can I day trade on an H-1B?+

There is no USCIS rule that names a number of trades or a dollar amount. Occasional buying and selling of your own money is investing. Trading all day, every day, as your main occupation starts to look like self-employment, which an H-1B does not authorise. If your activity is frequent enough that you would call it day trading, get advice from an immigration attorney before you scale it up.

Do nonresident aliens pay US tax on stock gains?+

It depends on days of presence. If you were in the US fewer than 183 days in the year, gains on US stocks are generally exempt. If you were present 183 days or more, net US-source capital gains are taxed at a flat 30% or a lower treaty rate. That count includes days that are excluded from the substantial presence test, so a full-year F-1 student can be a nonresident alien and still meet it.

Official sources

Rules and figures change. These are the authoritative pages to check against before you act.