Will US tax capital gains already taxed in a foreign country?

Sold shares in a brokerage account I hold in Germany last year, made about a decent gain, and Germany already withheld their capital gains tax on it (Abgeltungsteuer, the flat rate they apply at source). Now I'm sitting here doing my US return and wondering: will US tax capital gains already taxed in a foreign country, or is there a way to offset what I already paid abroad? I did read something about a foreign tax credit but I'm not sure if capital gains even qualify, or if I need to file something extra. I'm using tax software and it's asking me about foreign taxes paid but I don't know which form or category to put this in. Already have my year-end statement from the German broker showing the gain and the tax withheld. What's the right way to handle this?

36 comments

Are you filing jointly or as a single filer? And is this your only foreign income, or do you have other German income like wages or interest? Those two things affect whether you can take a shortcut or need the full Form 1116.

Claire F.

Author

Single filer, and this is basically my only foreign income for the year. The only thing on that German account was these share sales. No wages or salary from Germany.

Capital gains absolutely qualify for the foreign tax credit. The German tax withheld at source counts as a creditable foreign tax under section 901. You'll report the gain on Schedule D first, same as any other capital gain, then claim the credit on Form 1116 using the passive category income basket (capital gains from a foreign brokerage account almost always fall there). I uploaded my German broker statement to taxr.ai and it pulled out the gain amount, the withholding, and checked which Form 1116 category applied to my situation before I filled anything in. Worth doing before you guess at the boxes.

Claire F.

Author

That's really helpful, I didn't realize capital gains go in the passive category. I was second-guessing myself because the software just says 'foreign taxes paid' without specifying the category.

Passive category is right for most foreign investment income. The categories are listed above Part I of Form 1116 and passive is the one that covers interest, dividends, and most capital gains from foreign accounts. You pick the right one on the form itself.

Does your tax software let you enter a separate Form 1116 for each income category? Some of the cheaper programs bundle everything together and you end up with the wrong basket. Worth checking before you file.

Claire F.

Author

It seems to let me select a category when I enter the foreign tax. I'll double-check that it's actually generating a separate Form 1116 in the preview.

To be clear on how the credit works: you're not getting a dollar-for-dollar refund of the German tax. The Form 1116 calculates a limitation based on what fraction of your total income is foreign-source, and the credit can't exceed the US tax on that foreign income. If Germany's rate is higher than what the US would charge on the same gain, you may have excess credits you can't use this year.

Claire F.

Author

So I might still owe some US tax even after the credit? That's what I was afraid of. Though in my case I think the German rate and the US rate on long-term gains are pretty close.

Right, it depends on whether the gain was long-term or short-term in the US sense too. The holding period that matters for US purposes is how long you held the shares under US rules, which may differ from what Germany used.

Did you hold those shares for over a year before selling? Because the US long-term vs short-term distinction changes the rate you're offsetting the credit against, which affects whether you end up with excess credits or a clean offset.

Claire F.

Author

Yes, held them well over a year. So long-term capital gains rates apply on the US side. Good to know that's the cleaner scenario.

One thing worth checking: Germany's Abgeltungsteuer is a final withholding tax and it's well-established as a creditable tax under US rules, but make sure your year-end statement (Jahressteuerbescheinigung) actually shows the amount withheld as a separate line. The IRS can ask you to substantiate that the foreign tax was actually paid, and the broker statement is your documentation. Keep it.

Claire F.

Author

Mine does show it as a separate line, labeled Kapitalertragsteuer plus the solidarity surcharge. Both those amounts count toward the credit, right?

Yes, the solidarity surcharge (Solidaritätszuschlag) is also a creditable tax. Both go on Form 1116 as foreign taxes paid. Add them together for the total on that line.

Are you also checking whether you need to file FBAR or Form 8938 for that German brokerage account? The capital gains question is one thing, but holding a foreign account can trigger separate reporting requirements depending on the balance. I had Taxr read through my own German account documents last year and it flagged which reporting thresholds I was near and drafted a summary of what each form was asking for, so I could hand that to my preparer.

Claire F.

Author

I hadn't thought about that. The account balance at its peak was definitely above $10,000 so I guess I need to check the FBAR rules.

FBAR threshold is aggregate foreign accounts exceeding $10,000 at any point in the year. If you're over that you file FinCEN Form 114 electronically through FinCEN's BSA E-Filing System, not with your tax return. It's separate from Form 8938, which has higher thresholds for people living abroad. The IRS comparison page at irs.gov lays out both side by side.

Does the foreign tax credit actually eliminate all the US tax in a typical German capital gains situation, or do people usually end up with a small residual? Curious what others have seen.

Depends heavily on the individual's US tax bracket and how much other income they have. For someone in the 15% long-term capital gains bracket in the US, Germany's rate can exceed the US limitation, leaving excess credits that carry forward 10 years under Form 1116 rules.

Had excess credits myself one year when my German income was a small slice of total income. The limitation formula squeezed the allowable credit down. Carried the excess forward and used it the next year when I had more foreign income.

Are you using the FEIE anywhere on your return? Just asking because if you're claiming the foreign earned income exclusion on Form 2555 for any earned income, you can't take a foreign tax credit on the excluded portion. Capital gains aren't earned income though, so if the only foreign income is these capital gains, the exclusion vs credit question doesn't come up for this.

Claire F.

Author

No FEIE involved so far. I'm living in Germany and my employer is a US company, but pay for work I do while living here still counts as foreign earned income, so I should check whether to use Form 2555. The capital gains are really the main foreign tax question for me.

What currency were the shares originally purchased and sold in? If in euros, you need to convert both the proceeds and the cost basis to US dollars using the exchange rate on the respective dates of sale and purchase. That can create a different gain or loss in US dollar terms than what the German broker shows, which affects the Schedule D numbers.

Claire F.

Author

Shares were in euros, yes. I hadn't fully thought through that the exchange rates on purchase date vs sale date matter separately. So my US gain could be different from what the broker reported.

Exactly. Use the spot rate for each date, or the IRS average annual rate if you can't get daily rates, though daily is more precise. The IRS doesn't prescribe one official source; most people use the Treasury's posted rates or a recognized financial data source.

The Schedule D side of this is worth getting right before you even get to Form 1116. Report the sale in Part II of Schedule D (long-term) with proceeds and adjusted cost basis both in USD. Then the gain flows to the tax computation and Form 1116 limits the credit to the US tax on that foreign-source gain. Getting the basis wrong inflates or deflates your gain and messes up the limitation calculation downstream.

Had a similar situation with a French account a couple years back. The credit covered most but not all the US tax. Ended up with a small residual balance due, which I hadn't expected. The Form 1116 limitation caught me off guard. Worth running the numbers before the June 15 extended due date so you're not scrambling.

Claire F.

Author

June 15 is the automatic extended due date for people abroad, right? I assumed I had until October but good to remember interest on any unpaid tax runs from April 15 regardless of extensions.

That's right. Living abroad gets you to June 15 automatically, and you can get to October 15 by filing Form 4868 before June 15. But interest on any tax owed runs from April 15 no matter what. So if you think you'll owe, paying something by April 15 stops the interest clock.

Can the excess foreign tax credits from capital gains carry back too, or only carry forward? I always get confused on direction.

Carry back is 1 year, carry forward is 10 years. That's in the Form 1116 instructions. So if you had excess credits last year, an amended return for the prior year is an option before you carry forward.

Worth noting: if your total foreign source gross income was passive category and all of it and the foreign tax were on a qualifying payee statement, and your total creditable foreign taxes are within the threshold in the Form 1116 instructions for the simplified election, you can skip Form 1116 entirely for that year. But a broker statement from a foreign institution probably doesn't qualify as the kind of payee statement that triggers that election, so you likely need the full Form 1116.

Correct on the payee statement point. The simplified election is really designed for people who get a Form 1099-DIV from a US fund that holds foreign stocks. A German broker statement won't qualify, so Form 1116 it is.

Are you working with a CPA or enrolled agent who handles US expat returns? The currency conversion, the Form 1116 limitation calculation, and the FBAR question together make this a situation where a quick review by someone with international experience is worth it, especially if the gain was substantial. Not required, but the interaction between Schedule D, Form 1116, and FinCEN 114 has enough moving parts that a second set of eyes helps.

Claire F.

Author

I've been doing my own return but I think you're right that this year I should at least have an expat CPA review it before filing. The currency piece alone was something I hadn't fully worked out.