Disclosure: This article may contain affiliate links. If you click and make a purchase or open an account, we may earn a commission at no extra cost to you. See our full disclosure policy.

US Investing

How to Invest in US Stocks from Morocco (2026 Guide)

Want our weekly strategies? Join 5,000+ investors here
• By Tzion Sigron

A Moroccan investor researching capital gains tax will usually find one headline figure: 15%. What that number typically does not mention is that it applies to shares listed on the Casablanca Stock Exchange specifically - gains on securities held abroad, US stocks included, are taxed at a higher 20%. Foreign dividends carry their own quirk: no withholding at source at all, with the reporting obligation shifted entirely onto you.

This guide covers what you can buy, the treaty’s dividend rate, the real capital gains rate for US holdings, and the self-declaration requirement for dividends.

Everything here is verified from official sources for 2026.



Meet Yassine

Yassine is 32, lives in Casablanca, and works in telecommunications. He already trades on the Casablanca Stock Exchange and has seen the 15% capital gains figure quoted everywhere. He assumes it applies equally to US stocks he is considering buying through Interactive Brokers. It does not, and the 5-point gap between what he expects and what actually applies is worth understanding before his first sale, not after.


Step 1: What You Can Actually Buy From Morocco

Morocco sits well outside the EU’s PRIIPs perimeter, which is what prevents European residents from buying these funds at all. Yassine can buy VOO, VTI, and QQQ directly through a broker offering US market access.


Step 2: What the Morocco Treaty Gives You

The US-Morocco tax treaty (1977) caps US withholding on dividends paid to Moroccan resident individuals at 15% for portfolio investors, claimed with Form W-8BEN.

Income TypeDefault US RateTreaty Rate (Portfolio)
Dividends30%15%
Capital gains (securities)Generally not US-taxable for non-residentsResidence country only

Lodge W-8BEN with the broker and the rate drops to the treaty level.

For the full treaty mechanics, see our US-Morocco tax treaty guide.



Step 3: Capital Gains - 20% on US Stocks, Not the 15% You’ll See First

Morocco’s Tax on Capital Gains from Securities (TPCVM) applies 15% to gains from selling Casablanca Stock Exchange-listed shares - the figure most general tax summaries lead with. Gains from disposing of securities held abroad are taxed at 20% instead, a materially higher rate that applies directly to Yassine’s US stock sales.

Why the distinction exists: Morocco’s securities tax regime was built with the domestic Casablanca exchange as its reference point. The higher rate on foreign-held securities reflects that these disposals sit outside the domestic market’s reporting and withholding infrastructure, placing the compliance burden and a higher rate on the investor instead.

The practical takeaway: when Yassine compares “Morocco taxes stock gains at 15%” against his actual US brokerage statements, he needs to use 20%, not 15% - a 5-point gap easy to miss if research stops at the first figure found.


Step 4: Dividends and Interest - 15% Flat, But You Self-Declare

For dividends and interest sourced abroad, Morocco applies a flat 15% rate - matching the treaty rate coincidentally, but the mechanism is different from what a domestic investor is used to. There is no prior withholding on foreign-source income at all. The gross dividend arrives in full; the 15% Moroccan obligation is not collected automatically.

The obligation shifts to Yassine: foreign-source dividend and interest income must be declared on his annual Moroccan income tax return, with the 15% computed and paid based on that declaration - an active self-reporting requirement, not a passive one.

Why this self-declaration model creates real, practical risk beyond just remembering to file: unlike a domestic Casablanca-listed dividend, where the paying institution handles withholding and reporting automatically, a foreign dividend arriving in full, with nothing withheld, can feel to an inexperienced investor like it’s simply “his money” with no further obligation attached - a genuinely easy mistake to make precisely because nothing on the statement itself signals that a Moroccan tax liability exists. Building a habit of treating every foreign dividend as provisionally 15% Morocco’s from the moment it arrives - setting that portion aside mentally or literally - avoids the unpleasant surprise of a larger-than-expected bill at annual filing time.


Step 5: A Note on Moving Money Abroad

Morocco maintains a foreign exchange control regime administered by the Office des Changes, recently updated under the IGOC 2026 reform, which eased several rules (including raising the general personal travel allowance to MAD 500,000). This guide could not confirm a specific, current individual annual allowance dedicated to funding a foreign securities brokerage account, separate from these general allowances. Confirm directly with Office des Changes or a Moroccan financial advisor what limits currently apply before transferring meaningful funds abroad for this purpose.


Step 6: Choosing a Broker From Morocco

Interactive Brokers (IBKR) is confirmed to accept Moroccan residents for account opening, alongside other options including XTB and MEXEM. Confirm current requirements directly before applying, and separately confirm the exchange-control question above before a large transfer. See our full IBKR review →



Step 7: What Yassine’s Portfolio Looks Like in Practice

Before transferring: Yassine confirms the current allowance for funding a foreign brokerage account with Office des Changes or a financial advisor, rather than assuming a general travel or e-commerce allowance applies.

Broker: Interactive Brokers, once the funding question is resolved.

Portfolio allocation:

  • 80% VOO (S&P 500, bought directly)
  • 20% QQQ (Nasdaq-100, bought directly)
  • Deliberately few distributing positions: nothing is withheld at source for Yassine, so every dividend becomes a line he self-declares by hand. Fewer paying positions means a shorter annual reconciliation, not a lower tax rate
  • W-8BEN filed and confirmed active (15% withholding on his dividend statement)

Annual tax situation:

  • 15% US withholding on dividends
  • Any capital gains on his US stock sales taxed at Morocco’s 20% foreign-securities TPCVM rate, not the 15% domestic rate
  • Foreign dividends self-declared annually at 15%, since no Moroccan withholding applies at source

He keeps a running log of dividends received over the year, since nothing is withheld automatically and he needs the full picture to self-declare correctly.



Morocco: Avoidable Mistakes

Assuming the 15% Casablanca capital gains rate applies to US stocks. It does not - foreign-held securities are taxed at 20% under TPCVM.

Forgetting to self-declare foreign dividends. They arrive with no Moroccan withholding, and the reporting obligation is entirely yours.

Assuming an unlimited or specific transfer allowance for brokerage funding. Confirm the current rules with Office des Changes rather than guessing.

Forgetting W-8BEN. The treaty rate of 15% only reaches your account once the form does; otherwise it is 30%.


The First Things to Do From Morocco

  1. Confirm the current foreign exchange allowance for brokerage funding with Office des Changes or a financial advisor.
  2. Open a broker account. IBKR is confirmed to accept Moroccan residents.
  3. File your W-8BEN to secure the 15% treaty rate.
  4. Set up a log for foreign dividends received, since you will need to self-declare them.

Written as an overview of Morocco, not as financial guidance for your circumstances. Treaty rates are based on the US-Morocco Income Tax Convention (1977). Morocco’s TPCVM rates, foreign-source income declaration rules, and foreign exchange control regime are set by Moroccan law and can change - consult a qualified Moroccan tax advisor and Office des Changes directly for advice specific to your situation.



Frequently Asked Questions

Does Morocco tax my US stock gains at 15%, like Casablanca-listed shares? No. Gains on securities held abroad, including US stocks, are taxed at 20% under Morocco’s TPCVM - a higher rate than the 15% that applies specifically to Casablanca Stock Exchange-listed shares.

Will my broker withhold Moroccan tax on my US dividends? No. Foreign-source dividends arrive with no Moroccan withholding at all. You must self-declare them on your annual return and pay the 15% based on that declaration.

What’s the US withholding rate on my dividends? 15%, under the US-Morocco tax treaty, once Form W-8BEN is filed. Without it, the default 30% applies.

How much can I transfer abroad to fund a US brokerage account? This guide could not confirm a specific allowance dedicated to brokerage funding - confirm current limits directly with Office des Changes or a Moroccan financial advisor before transferring meaningful funds.

Can I buy VOO and QQQ directly as a Moroccan investor? Yes. Because Morocco is not covered by PRIIPs, you can buy US-domiciled ETFs directly rather than hunting for UCITS versions.


Sources: US-Morocco Income Tax Convention (1977); IRS treaty text and tables; IRS Publication 515 (2026).

Financial Disclaimer: This content is for educational purposes only and does not constitute financial advice. Investing involves risk. Please read our Full Disclaimer for more details.

Tzion Sigron

Written by Tzion Sigron

Tzion Sigron is the founder and editor of GetGlobalYields. He holds a B.A. in Economics and Management and spent five years processing and integrating Tel Aviv Stock Exchange fixed-income data for financial software systems. As an active investor in both US and Israeli markets for over 4.5 years, he specializes in tax treaties, options strategies, and helping non-US investors navigate US markets with data-driven precision.

Read Full Bio → | Connect on LinkedIn