US tax reporting traps for buying, inheriting and selling foreign real estate

We just sold a small apartment in Portugal that my wife and I bought about eight years ago. I knew there would be US tax to deal with but I had no idea how many layers there were. We used euros the whole time, we got a small inheritance top-up on the basis when her father passed, and we paid Portuguese capital gains tax on the sale. Now I'm sitting here trying to figure out how the basis is calculated in dollars, whether the foreign tax we paid actually offsets anything, what year the inheritance piece was reportable, and whether the property itself ever needed to go on Form 8938. I've been reading through the FEIE and foreign tax credit pages but those are really about income, not property sales. Is there a clear order of operations for us tax reporting traps for buying, inheriting and selling foreign real estate that people here have actually worked through?

39 comments

The basis question is the first thing to nail down. When you bought, your basis is the purchase price converted to dollars at the spot rate on the date of purchase. Every capital improvement you made over the years uses the exchange rate on the date you spent the money. When your wife inherited her father's share, her basis in that piece steps up to fair market value on the date of death, also converted at that day's exchange rate. The sale proceeds are converted at the rate on the closing date. You end up computing your gain entirely in dollars even though every transaction was in euros, and currency moves alone can create a taxable gain even if you broke even in euros.

Isaac R.

Author

That explains why my rough euro math looked so clean but the dollar version looked messier. So we need to find the actual spot rates for each of those dates going back eight years. Historic ECB or Treasury rates?

Treasury publishes yearly average rates and the IRS generally accepts them for income items, but for a property sale the IRS wants the actual rate on the transaction date. The Treasury reporting rates page or a reputable financial data source for the specific dates is what most preparers use.

Foreign real estate itself is not a specified foreign financial asset for Form 8938 purposes. The instructions make clear that real property held directly is excluded. So the apartment doesn't trigger an 8938 filing on its own. If you held it through a foreign entity — a Portuguese LLC equivalent or anything like that — that entity interest would be a specified asset and you'd have an 8938 issue. Direct ownership of the land and building, no 8938.

Isaac R.

Author

We held it directly in both our names, no entity involved. Good to know that's one form off the list.

Worth noting FBAR is the same — the property itself is not a financial account. But if you kept sale proceeds in a Portuguese bank account even briefly and the aggregate of all your foreign accounts topped $10,000 at any point during the year, that account goes on the FBAR for that year.

The trap that caught me was the currency gain buried inside the mortgage payoff. If you had a foreign-currency mortgage, the IRS treats paying it off as a separate currency transaction from the property sale. You can have a gain or loss on the mortgage itself that gets reported separately from the Section 1221 capital gain on the property. I uploaded my closing statement and my original loan docs to taxr.ai and it broke out which numbers fed the property gain calculation and which were the currency side of the mortgage, and flagged that the property gain flows to Schedule D while the mortgage currency piece is reported as ordinary income, not on Schedule D. Saved me from collapsing everything into one number wrong.

Isaac R.

Author

We did not have a mortgage — paid cash — so I think we dodge that one. But I would never have thought of it as a separate transaction. That is a real trap for anyone who financed.

The mortgage currency gain issue is a Section 988 transaction. The regulations treat foreign-currency-denominated debt as giving rise to exchange gain or loss on repayment, taxed as ordinary income or loss, not capital. So it doesn't just go on Schedule D — it flows as ordinary income, which matters for the tax rate.

On the inheritance piece: when your wife's father died, her inherited share should have been reported if the estate had foreign assets above the threshold on Form 3520 — specifically if she received a gift or inheritance from a foreign person exceeding the reporting threshold that year. The property itself isn't a gift of cash but an inheritance of a foreign asset still triggers the 3520 analysis. Check whether the value at date of death crossed the threshold the 3520 instructions set for that year. Missing a 3520 can mean a penalty equal to a percentage of the value received.

Isaac R.

Author

Nobody told us anything about Form 3520 when this happened. We definitely did not file one. How bad is the penalty exposure if we missed it?

The penalty for failing to report a large foreign inheritance on Form 3520 can be 5% of the value of the unreported amount for each month it was late, up to 25%. Check the Form 3520 instructions for the exact current figures — the thresholds and penalty percentages are spelled out there. If this is a real gap, Streamlined Foreign Offshore might let you correct it without that penalty structure if your non-filing was non-willful and you meet the residency and presence tests.

Seconding the Streamlined point. The IRS has been more aggressive about Form 3520 penalties but the Streamlined Foreign Offshore procedures cover information returns like 3520 as well as income returns. You'd file the most recent three years of amended or delinquent returns marked appropriately, the six years of FBARs, and Form 14653 certifying non-willful conduct. No penalty if you qualify.

The foreign tax credit on a property sale has its own wrinkle. Portuguese CGT you paid goes on Form 1116 in the passive category, generally. But the limitation is based on your foreign source income as a fraction of worldwide income, so if the gain is big and your US income is also big, you might not be able to use the full credit in the year of sale. Any excess carries back one year and then forward ten years. Don't assume one dollar of Portuguese tax equals one dollar of US offset.

Isaac R.

Author

This is exactly the part I was vague on. So I need a separate Form 1116 just for this sale gain?

Yes, one Form 1116 for passive category income. If you have other foreign income in different categories — say a foreign branch or general category — those get their own Form 1116. Each category has its own limitation basket and credits don't cross baskets.

Primary residence exclusion is worth checking. If the property was your main home for at least two of the five years before the sale, the Section 121 exclusion can apply even to a foreign home. The dollar limits are the same as for a US home — the instructions and Publication 523 spell them out. For a married couple filing jointly the exclusion can shelter a meaningful portion of the gain. It doesn't eliminate the foreign tax credit calculation but it reduces the gain subject to US tax.

Isaac R.

Author

We rented it out for most of the time and visited maybe three months a year, so I don't think we meet the two-out-of-five-years test. But good to flag for anyone who did live there.

The depreciation recapture trap is brutal if you rented the property. If you claimed depreciation on Schedule E during the rental years, you have unrecaptured Section 1250 gain taxed at a higher rate than regular long-term capital gain. And if you didn't claim depreciation when you should have, the IRS still treats you as if you did — you get hit with recapture on the depreciation allowed or allowable. Use Form 4797 for the recapture piece.

Isaac R.

Author

We did rent it and we did report rental income on Schedule E. I am not certain we ever claimed depreciation on a foreign property. This might be the biggest problem I didn't know I had.

Foreign residential property is depreciated under the Alternative Depreciation System, over 30 years if placed in service after 2017 or 40 years if placed in service before 2018, not 27.5 years like US residential rental property. If your preparer missed that or didn't depreciate it at all, the allowed-or-allowable rule still applies. An enrolled agent or CPA who handles international real estate is worth finding here because correcting missed depreciation involves amending prior returns.

Yep, the ADS life for foreign residential rental property (30 years if placed in service after 2017, 40 if before 2018) is a classic oversight. A lot of preparers who don't do much international work default to 27.5 by mistake. If the depreciation was computed wrong for years, amending all those returns is a project. Get a pro who knows cross-border real estate.

FBAR timing is a small but real trap on the sale itself. The escrow or notary account holding funds at closing might be a foreign financial account in your name for a brief period. If the aggregate of all your foreign accounts — including that escrow — topped $10,000 at any point during the calendar year, that account belongs on FinCEN Form 114 for the year of sale. I ran my closing paperwork through Taxr and it spotted the escrow account as a potential FBAR account I hadn't thought of, then drafted a summary of which accounts needed to go on the 114 and which didn't, based on how long they were in my name and what the balances were.

Isaac R.

Author

I hadn't even considered the escrow. We did have funds held by the Portuguese notary for about two weeks. I need to find out if that counts as an account in my name.

No, the FBAR definition of financial account is what matters, not just the name on a temporary escrow. But the safe answer is to check with your preparer and disclose it if there's any doubt. The penalty for a non-willful missed account can be significant and there's no cost to including it.

State taxes add another layer that people overlook. Some states tax foreign real estate gains the same as domestic, some have their own foreign tax credit rules that differ from federal, and a few don't conform to the Section 121 exclusion fully. If you're a resident of a high-tax state you could owe state tax on the gain even if the federal bill is zeroed out by credits or the exclusion. Check your state's treatment separately.

Isaac R.

Author

Good reminder. We're in California so I already know the answer there is going to be painful.

The date of sale for US tax purposes can differ from what the foreign country considers the closing date. Some countries consider a sale complete at contract signing, others at deed registration. The IRS generally looks at when title passes or when you have the burdens and benefits of ownership. If your Portuguese closing date and the date the deed was registered were in different calendar years, you need to pin down which year the US gain is recognized in.

Tracking this thread because I went through nearly all these same issues with a French property two years back. The piece that really tripped me up was reconciling the French tax certificate with what Form 1116 wanted — the French document doesn't map neatly to the categories the form uses. I gave Taxr my Form 1116, the French tax certificate, and the closing statement, and it identified which amounts were creditable foreign taxes under the rules and which were fees or charges that don't qualify, and listed them out line by line so I could hand the list to my CPA to enter. Saved a lot of back-and-forth with her.

Isaac R.

Author

That is exactly the problem I am staring at now. The Portuguese tax document has several line items and I have no idea which ones actually count as creditable taxes for Form 1116 purposes.

Generally a foreign tax qualifies for the credit if it is a compulsory payment to a foreign government in the nature of an income tax — it must be a tax on net gain, not a gross receipts or transfer tax. The Form 1116 instructions and Publication 514 go into what qualifies. Some Portuguese taxes on property sales are structured as a flat rate on gross proceeds, which doesn't qualify. Your CPA needs to look at each line.

Reporting the sale on your US return: since you rented it out, the gain goes on Form 4797 first, then the net Section 1231 gain carries to Schedule D. Use Part I if you held more than a year (you held eight years so definitely long-term). The description field on 4797 should note it's foreign real estate. Any depreciation recapture is figured on Form 4797 before the remaining gain hits Schedule D.

Isaac R.

Author

Does the stepped-up basis from the inheritance get reported anywhere separately, or does it just feed into the total basis number on Form 8949?

It just flows into the cost or other basis column on Form 4797. The Form 3520 question about reporting the inheritance is separate from the basis calculation — one is about reporting the receipt of a foreign inheritance, the other is about computing your gain correctly on the sale. Two different forms, two different issues.

Qualified opportunity zones themselves have to be in the US, so the foreign property can't be the QOZ investment. But a foreign real estate gain can still be deferred by investing it in a QOZ fund — the deferred gain doesn't need to be from a US source. Worth knowing before you rule that path out planning-wise.

If the property was held in a foreign trust at any point — even briefly during estate administration after the father passed — you're looking at Form 3520 and possibly Form 3520-A as well. Foreign trusts get their own reporting regime on top of everything else discussed here. If the inheritance passed through any kind of foreign testamentary trust before the asset came to your wife directly, flag that for your preparer.

Isaac R.

Author

The inheritance came directly from the estate to us — no trust involved as far as we know. But I'll confirm that with the Portuguese notary's paperwork.

Rounding up the action items from this thread: pin down exchange rates for purchase date, each improvement date, date-of-death for the inherited portion, and sale date. Determine whether a Form 3520 was required for the year of inheritance. Check whether depreciation was computed at the correct ADS life (30 years if placed in service after 2017, 40 if before 2018) and whether recapture applies. Identify which Portuguese taxes on the closing statement are creditable on Form 1116. Confirm which foreign accounts were open during the sale year for FBAR. This is a multi-form return — Form 4797 for the rental property sale and any recapture, Schedule D, Form 1116, possibly Form 3520. A CPA or enrolled agent with international real estate experience is worth the fee here.

Isaac R.

Author

I'm printing this list and taking it straight to whoever ends up doing our return. I was vaguely aware there would be complexity but seeing the full list makes it obvious why a regular tax preparer who doesn't do international work would miss half of it.