Can F1 Students Invest in Stocks? Rules, Taxes, and Reporting

Yes, F1 students can invest in stocks. Federal immigration rules treat buying and selling securities for your own account as passive investing rather than employment, and federal tax law contains an explicit safe harbor confirming that trading stocks for your own account is not a U.S. trade or business. The catch is that dividends and capital gains are taxed under nonresident-alien rules that look nothing like the short-term and long-term rates that apply to U.S. citizens, and very active trading can raise immigration questions even when the tax rules stay on your side.

Why Investing Is Allowed on an F1 Visa

The F1 visa requires you to maintain a full course of study and limits off-campus work to specific authorized categories such as Curricular Practical Training and Optional Practical Training.1U.S. Citizenship and Immigration Services. Students and Employment None of those restrictions reach investing. USCIS defines unauthorized “employment” by asking whether someone is performing services or labor, not whether they are earning money. Dividends and capital gains from a personal brokerage account do not involve performing services for anyone, so they sit outside the employment restrictions.

Federal tax law says the same thing from a different direction. Under 26 U.S.C. § 864(b)(2), trading stocks or securities for your own account is excluded from the definition of a “trade or business within the United States,” whether you execute the trades yourself, use a broker, or have an employee handle them for you.2Office of the Law Revision Counsel. 26 U.S. Code 864 – Definitions and Special Rules IRS Publication 519 restates the point in plain terms: if your only U.S. business activity is trading stocks for your own account, you are not engaged in a trade or business in the United States.3Internal Revenue Service. Publication 519 (2025), U.S. Tax Guide for Aliens

When Trading Starts to Look Like Work

The safe harbor has practical limits on the immigration side. Buying index funds, holding shares for months, or making occasional trades is clearly passive. Executing dozens of trades a day, spending hours monitoring charts, and treating trading proceeds as your primary source of support is a different picture. USCIS looks at how frequently and systematically you trade, how much time you devote to it, and whether the activity resembles a business rather than personal investing.

There is no bright-line rule published by USCIS on how much is too much. The distinction is not about how much you earn but about how the activity looks from the outside. A student who buys a few stocks each month and reinvests dividends raises no flags. A student running algorithmic strategies eight hours a day is doing something that looks like work. The safest approach is to keep your investing clearly secondary to your academic program.

The tax side is more forgiving here. Even high-frequency personal trading remains outside the § 864(b)(2) definition of a U.S. trade or business as long as you are trading for your own account and are not a dealer in securities.2Office of the Law Revision Counsel. 26 U.S. Code 864 – Definitions and Special Rules Passing the IRS test does not automatically mean you pass the USCIS test. The two agencies evaluate the activity independently.

Opening a Brokerage Account

Federal regulations require broker-dealers to run a Customer Identification Program before opening any account. For non-U.S. persons, the minimum information the broker must collect includes your name, date of birth, residential address, and at least one of: a taxpayer identification number, a passport number with country of issuance, an alien identification card number, or another government-issued document showing nationality or residence with a photograph.4eCFR. 31 CFR 1023.220 – Customer Identification Programs for Broker-Dealers

In practice you will need your passport and a U.S. address. Most brokerages also ask for a Social Security Number or an Individual Taxpayer Identification Number. Getting an SSN generally requires authorized employment, which many first-year F1 students do not have. If you do not have an SSN, you can apply for an ITIN by filing IRS Form W-7 along with a federal tax return.5Internal Revenue Service. About Form W-7, Application for IRS Individual Taxpayer Identification Number Some larger firms, including Interactive Brokers and Charles Schwab, have historically opened accounts for nonresident aliens using a passport and ITIN rather than requiring an SSN. Requirements vary, so ask the brokerage before assuming you qualify.

Have proof of your U.S. address ready, such as a utility bill, lease, or bank statement. The brokerage may also ask about your funding sources for anti-money-laundering compliance. Personal savings, family support, and scholarship funds are all legitimate; keep bank statements or transfer records that show where the money came from.

Once your account is open, file Form W-8BEN with the brokerage to certify your foreign status and, if your country has a tax treaty with the United States, to claim a lower withholding rate on dividends.6Internal Revenue Service. About Form W-8 BEN, Certificate of Foreign Status of Beneficial Owner for United States Tax Withholding and Reporting (Individuals) Without a W-8BEN on file, your broker will withhold at the full statutory rate regardless of any treaty you might qualify for.

How Dividends Are Taxed

Dividends paid to nonresident aliens by U.S. companies are taxed at a flat 30% rate, withheld automatically by your brokerage before the money reaches your account.7Office of the Law Revision Counsel. 26 U.S. Code 871 – Tax on Nonresident Alien Individuals It applies regardless of how long you have held the stock or how much you earned. Your broker is legally required to withhold before paying you, so the deduction will show up on your account statements.8Internal Revenue Service. 2025 Instructions for Form 1040-NR

The 30% rate can be reduced if your home country has a tax treaty with the United States. Many treaties bring the dividend withholding rate down to 15%, and some go lower. The W-8BEN is what makes that reduction happen. File it as soon as you open the account.

How Capital Gains Are Taxed

Capital gains work very differently for F1 students than for U.S. citizens. The familiar short-term and long-term brackets do not apply. Because trading stocks for your own account is not a U.S. trade or business under the § 864(b)(2) safe harbor, your capital gains are not “effectively connected” income.3Internal Revenue Service. Publication 519 (2025), U.S. Tax Guide for Aliens A special rule based on physical presence takes over:

  • Present fewer than 183 days during the tax year: your net capital gains from U.S. sources are exempt from U.S. income tax.
  • Present 183 days or more during the tax year: your net capital gains from U.S. sources are taxed at a flat 30%, or a lower rate if a tax treaty applies.

The 183-day threshold comes from 26 U.S.C. § 871(a)(2).7Office of the Law Revision Counsel. 26 U.S. Code 871 – Tax on Nonresident Alien Individuals Most F1 students are in the United States for well over 183 days in any given year; the academic calendar alone runs roughly nine months. That means most F1 students will owe the flat 30% on net capital gains. Holding period does not matter under this rule. You report the gains on Schedule NEC (Form 1040-NR), not on Schedule D.8Internal Revenue Service. 2025 Instructions for Form 1040-NR

Losses do offset gains. Only the net excess of gains over losses is taxed. Keep careful records of purchase prices and sale dates for every transaction so you can calculate the net figure accurately.

Cryptocurrency and Digital Assets

Crypto, NFTs, and other digital assets held as personal investments follow the same capital-gains framework. If you sell, exchange, or otherwise dispose of a digital asset, you must report it, and the IRS requires you to indicate digital asset activity on your tax return.9Internal Revenue Service. Instructions for Form 1040-C (Rev. January 2026) Form 8949 is used to calculate the gain or loss.

The 183-day rule that governs stock gains for nonresident aliens governs crypto gains too. Over 183 days of presence and the gains are not effectively connected to a U.S. business: flat 30% or the treaty rate. Under 183 days: exempt. The same passive-versus-active immigration analysis also applies. Casual buying and holding is passive investing; running a trading operation that resembles a business raises the same unauthorized-employment concerns as aggressive stock day trading.

The Five-Year Tax Residency Shift

F1 students are classified as “exempt individuals” for the IRS substantial presence test during their first five calendar years in the United States. During those years, days spent in the country do not count toward the test that would otherwise make you a resident alien for tax purposes.10Internal Revenue Service. Tax Residency Status Examples That is why F1 students are generally treated as nonresident aliens, subject to the dividend and capital gains rules above.

Once those five calendar years expire, the exemption is gone permanently. If you remain in the U.S. and meet the substantial presence test in year six, you become a resident alien for tax purposes starting January 1 of that year. The change is significant. Resident aliens are taxed on worldwide income, the same as U.S. citizens. Investment gains in foreign accounts, interest from overseas banks, and dividends from non-U.S. companies all become taxable. You switch from Form 1040-NR to Form 1040, and capital gains move from the flat 30% to the graduated short-term and long-term rates.

If you are approaching your sixth year on an F1 visa, decisions about when to sell investments, whether to repatriate funds, and how to structure your accounts all look different once you cross into resident-alien status.

Filing Your Tax Return

Nonresident alien F1 students with U.S.-source investment income file Form 1040-NR. Dividends and capital gains not connected to a U.S. trade or business go on Schedule NEC (Form 1040-NR); any effectively connected income goes on the main form.8Internal Revenue Service. 2025 Instructions for Form 1040-NR

The filing deadline depends on your other income. If you also receive wages subject to U.S. income tax withholding, such as from an on-campus job, the return is due April 15. If you have only investment income and no wages subject to withholding, the deadline extends to June 15.11Internal Revenue Service. Taxation of Nonresident Aliens Interest on any unpaid balance still runs from April 15 either way.

You will need Form 1042-S from your brokerage, which shows the income paid and tax withheld during the year. If the broker withheld more than you owe (because you qualify for a lower treaty rate, for instance), the 1040-NR is how you claim the refund. If you are applying for an ITIN using Form W-7, you can attach it to the front of your 1040-NR and submit them together.12Internal Revenue Service. How to Apply for an ITIN

Foreign Account Reporting

FBAR (FinCEN Form 114) applies to “U.S. persons,” which the IRS defines as citizens, resident aliens, and domestic entities.13Internal Revenue Service. Report of Foreign Bank and Financial Accounts (FBAR) An F1 student who is still a nonresident alien generally is not a U.S. person and does not have an FBAR obligation. Once you cross the five-year threshold and become a resident alien, that changes: FBAR then applies in any year when the combined value of your foreign financial accounts exceeds $10,000 at any point.

Form 8938, covering specified foreign financial assets, follows the same pattern. It is required from “specified individuals,” and nonresident aliens fall into that category only if they elect to be treated as resident aliens for purposes of filing a joint return.14Internal Revenue Service. Do I Need to File Form 8938, Statement of Specified Foreign Financial Assets Most F1 students in their first five years will not need to worry about either form, but the obligation can appear suddenly after the residency transition.

What Happens if You Get It Wrong

The IRS imposes penalties for late filing, late payment, and underreporting. Failing to file Form 1040-NR when you owe tax can produce a failure-to-file penalty plus interest running from the original due date. Underreporting investment income is treated the same whether you are a citizen or a nonresident alien, and substantial underreporting can lead to fraud penalties or criminal referral.

The immigration consequences can be worse than the financial ones. USCIS reviews tax compliance when you apply for a change of status, OPT, or other visa benefits. A pattern of unreported income creates a discrepancy between your immigration and tax records that invites questions. If USCIS determines that aggressive trading amounted to unauthorized employment, the consequences range from denial of future benefits to visa revocation. Tax mistakes can be corrected with amended returns and penalty payments. An adverse USCIS finding on unauthorized employment is much harder to undo.