HomeBlogPortugal
PortugalVisas & Residency

Portugal D8 visa and IRS Form 6166: how Americans prove tax residence (2026)

Internal Writing Sep 23, 2026 7 min read Last reviewed: Sep 23, 2026
The Portugal D8 visa asks for proof of tax residence. How Americans get IRS Form 6166 with Form 8802: fee, timing, apostille and what to ask the consulate.

Portugal's digital nomad visa, the D8, has one document that trips up a lot of Americans: proof of your tax residence. Not a bank statement, not your tax return, but a certificate from your tax authority.

For US taxpayers that letter is IRS Form 6166, requested with Form 8802. Here's what the D8 asks for, how to get a 6166, and how to time it.

Quick note: this is general information and rules change. Check your own case with your Portuguese consulate, VFS Global or an adviser before you file anything.

What the D8 asks for on tax residence

Portugal's visa portal lists the documents for remote workers under both the residency visa and the temporary stay visa. Next to your work contract or client contracts and proof of income, both lists include a "document attesting his fiscal residence".

Apply from the US and the wording is more direct. The VFS Global checklist for US applicants asks for a "Tax residence certificate (from country of origin)", and the Consulate General in Newark publishes checklists with the same line.

None of these lists names a specific form. For a US taxpayer, the IRS document built for this job is Form 6166. If you're unsure what your consulate expects, ask before you order it.

What IRS Form 6166 is

Form 6166 is a letter on US Treasury letterhead certifying that you're a resident of the United States for US federal tax purposes. According to the IRS, it's mainly used to claim tax treaty benefits and VAT exemptions abroad. You don't apply for the 6166 directly: you file Form 8802 and the IRS sends you the 6166.

Each certificate covers a calendar year. The Form 8802 instructions say the certification period is generally one year, and you can ask for the current year and prior years.

Who can get a Form 6166

In general, the IRS issues a 6166 when it can verify one of these for the year you're asking about:

  • You filed the right US income tax return for that year.
  • If that year's return isn't due yet, you filed the return for the most recent year that was due.
  • You weren't required to file, and you send other documentation instead.

You're generally not eligible if you didn't file a required return, if you filed as a nonresident (Form 1040-NR, for example), or if you're a dual resident who has used a treaty tie-breaker to be treated as resident of the other country. The full rules are in the Form 8802 instructions.

Moving this year? A current-year certificate needs a statement, signed under penalties of perjury, that you're a US resident and will continue to be throughout the current tax year. There are extra rules for citizens who live abroad or file Form 2555. If your move falls in the year you're certifying, talk to a US tax preparer before you sign.

How to apply with Form 8802

  • The fee. The IRS charges a nonrefundable user fee for each Form 8802. For an individual it's $85, and the IRS says it rises to $105 from 1 October 2026. One fee covers one application, however many countries or years it lists.
  • Paying. Check, money order, or e-payment through Pay.gov. If you pay online you upload a copy of your 8802 to Pay.gov, but that upload is only to match the payment. The IRS says it won't process an application sent that way, so you still file the form itself (IRS Form 6166 page).
  • Filing. By mail or private delivery to the IRS in Philadelphia. If you paid by e-payment you can also fax it. The addresses and fax numbers are in the instructions.
  • Online. Since 28 September 2025 there's a mobile-friendly version of Form 8802 for individual applicants. It needs an IRS Online Account, and you can submit it online or download it to mail.
  • The form itself. Line 9 asks for the purpose: income tax, VAT, or "Other (must specify)". Line 11 is where you list the country and how many certificates you want. Portugal has its own code (PO). If you're married and filed jointly, both spouses sign.

Timing it against your D8 application

This is where people get caught. The IRS asks you to send your application at least 45 days before you need the 6166, and says it'll contact you after 30 days if there's a delay. Real queues can be longer: when we checked in September 2026, the IRS processing status page showed it working on Forms 8802 received in July 2026.

There's also a floor. The IRS won't accept a request for a current-year certificate postmarked before 1 December of the year before. So a 2027 certificate can't go in the mail before 1 December 2026.

On the Portuguese side, the Newark consulate says visa applications can go in up to six months before you travel. The visa portal gives the consulate 30 days to decide a temporary stay visa and 60 days for a residency visa.

So order the 6166 as soon as you've chosen the D8, and ask the consulate which year it should cover first.

Apostille and translation

Portugal and the US are both parties to the Hague Apostille Convention. The 6166 is a federal document, so any apostille comes from the US State Department, not your state. The State Department lists "Certification of U.S. tax residency issued by Internal Revenue Service (IRS)" among the federal documents that may need an apostille from its own office. It also warns you not to notarize the original, because that makes it invalid.

If you do need one, the Office of Authentications charges $20 per document, and mailed requests are processed within five weeks of arrival. You send Form DS-4194 with the document.

What we couldn't confirm from an official source is whether Portuguese consulates in the US want the 6166 apostilled or translated for a D8. The checklists ask for an apostille on the police certificate but say nothing about the tax certificate. Ask your consulate or VFS centre, and leave time for an apostille in case they say yes.

If your 6166 won't arrive in time

The official lists don't name any alternative document. What the VFS checklist does say is that missing documents can get your application refused, and if the consulate asks for something missing, it stops examining your file until you send it.

So don't guess. If your certificate hasn't arrived by your appointment, ask the consulate or VFS what they'll accept, or whether to move the appointment.

It doesn't decide your Portuguese taxes

A 6166 only certifies that you were a US resident for US tax purposes during the year it covers. The IRS also says you can't use it to prove you paid US taxes when claiming a foreign tax credit. It says nothing about whether you'll be tax resident in Portugal once you move.

That's a separate question. Start with our guides to Portuguese taxes for Americans and Portugal's IFICI regime (NHR 2.0), and get tax advice on both sides before you land.

Frequently asked questions

Does the Portugal D8 visa require proof of tax residence?

Yes. Portugal's visa portal lists a document attesting your fiscal residence for both D8 versions, and the VFS checklist for US applicants asks for a tax residence certificate from your country of origin.

How much does Form 6166 cost?

The IRS charges an individual $85 per Form 8802, rising to $105 from 1 October 2026. The fee is nonrefundable and covers one application, whatever the number of countries or years.

How long does it take to get Form 6166?

The IRS asks you to apply at least 45 days before you need it. In September 2026 it was working on applications received in July, so plan for longer.

Does Form 6166 need an apostille for the D8?

The State Department says an IRS tax residency certification is a federal document that may need its apostille, not a state one. The D8 checklists don't say whether Portugal requires it, so confirm with your consulate or VFS.

Does Form 6166 make me a Portuguese tax resident?

No. It only certifies your US tax residence for the year it covers. Whether you become tax resident in Portugal depends on Portuguese rules and your own situation.

Want the D8 done without the guesswork? See how we handle the Portugal D8 visa, read our full D8 visa guide, or book a free consultation and we'll check your documents and timeline with you.

Share this article