Contenidos:

Do You Own Stocks Abroad? How to Report Them in Spain

If you have shares abroad and you have to file a tax return, pay attention to what we are going to tell you in this article.

Start Saving NOW

Home » Foreigners and income tax returns » Income tax return for taxpayers with shares held abroad

Resumiendo, que es gerundio

Imagine that you have shares in foreign stock exchanges and you live in Spain. When it is time to file your income tax return, you have to report these investments. It is important that you declare the profits or losses you have made when selling these shares. The process can be a bit complicated because you have to enter all the details of your transactions on a platform called Renta Web. Also, if you have traded in different currencies, you have to take into account the currency exchange rate. The idea is to be very detailed and accurate to avoid problems with Hacienda. In short, it is like telling the Spanish government how much you have earned or lost with your investments abroad so they can calculate your taxes correctly.

Filing your income tax return if you own shares in a foreign stock market can be difficult, especially if you have made many investments and are faced with the challenge of declaring them in your income tax return.

But that’s what we are here for, to show you how to declare your investments and what you should take into account.

📊 Declaring the Sale of Foreign Shares in Spain

If you’ve sold foreign shares, you must include the transaction in your Spanish income tax return—specifically under savings income as a capital gain or loss.

The key factor is not how many shares you hold, but whether you’ve sold any during the year. The Tax Agency only requires you to declare shares you’ve sold, not those you still hold.

How to Calculate Gains or Losses:

  • Subtract the purchase price (including commissions) from the sale price
  • The result is your capital gain or loss, which must be reported

💡 Remember: brokerage fees and transaction costs can be deducted, so keep your records organized.

Spain’s Tax Agency has specific rules for how and when to report foreign shares. If you’re unsure how your broker reports data—or if the paperwork is in another language—filing can get tricky.

👉 Let TaxDown help you declare foreign shares accurately and stress-free. Start now at app.taxdown.es.


Sign up for free

📌 How Spain’s Tax Agency Treats Foreign Shares

When declaring foreign shares, Hacienda applies the FIFO method (First In, First Out). This means the first shares you bought are considered the first ones sold, regardless of what your broker might show.

💼 Key Considerations:

  • Always track gains and losses per transaction, factoring in all relevant costs.
  • Be precise: every sale must reflect accurate incremental or decremental value changes.

⚠️ Loss Compensation Rule:

If you sell shares at a loss, you can’t buy the same securities again for 2 months—or the loss won’t count for tax purposes.

🧠 These rules are specific and technical—errors can be costly. If you’re unsure, it’s best to get expert help.

🧾 How to Declare Foreign Shares in Your Spanish Tax Return (IRPF)

If you own or trade foreign shares, it’s essential to understand how to declare them correctly in your Spanish income tax return to avoid penalties from the Tax Agency.

✅ Step-by-Step: How to Enter Share Data in Renta Web

  1. Go to Renta Web
    Navigate to Section F2, Page 15, where capital gains and losses from share transactions are reported.
  2. Open Field 0328
    This opens the share declaration module. Enter:
    • Transaction details
    • Issuer name (the company that issued the shares)
    • Purchase value and sale value (include associated commissions)
  3. Verify and confirm
    Once all data is filled in correctly, the platform will automatically integrate it into your tax return. 📌 If you’ve made multiple share transactions, you must enter them one by one.

💱 What If the Transaction Was in Foreign Currency?

If the shares were sold in a non-euro currency, you must:

  • Convert the amount using the official exchange rate on the day of the sale
  • Enter the euro-equivalent value in the return

⚠️ If you’ve made more than 48 transactions, group them by company and treat them as a single entry.


🗂️ Use the Tax Agency’s Securities Portfolio Tool

Hacienda offers a portfolio management tool based on the ISIN code of each share. This allows:

  • Easier import of transactions
  • Instant validation of data
  • Notifications if something’s incorrect

💡 Always justify each operation. Keep supporting documents and a detailed log (Excel works great) in case of inspection.

Papeleo de impuestos, concretamente del Modelo 149 o Ley Beckham

Better file your income tax return with TaxDown and relax.

Handling foreign shares in your tax return can be overwhelming—but with TaxDown, you get:

  • Smart guidance for each step
  • Error-free filing
  • Peace of mind knowing everything complies with Spanish tax laws

👉 Start now at app.taxdown.es and declare your foreign shares the easy way.

It’s time to file your taxes — properly.
Do it all online, reviewed by experts, and save an average of €382. No mistakes. No stress.
💡 Make it easy with TaxDown.

Sign up for FREE

File your taxes before anyone else with

Your tax return,
done right

Find out your refund for free in just 10 minutes

We file your taxes online, hassle-free

Always available, 24/7 support on your phone

More than 200 tax experts review your case

Start for FREE

Bustamante holding a tablet showing the TaxDown app, stating you can save €1,392 on your tax return

If you need more help on the subject, write to us and we will try to help you:

We can help you

Did you find this article useful?



TaxDown es más que la declaración de la renta.

Si necesitas ayuda con requerimientos, presentar fuera de plazo, Ley Beckham o 7p, ayudas de maternidad...

Regístrate ahora


Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *