Portugal IBAN format
A Portugal IBAN starts with PT, then two check digits calculated with ISO 7064 mod-97, then the 21-character BBAN (21 digit). Every IBAN generated here passes the checksum and the national check digits, so it is accepted by form validation and IBAN libraries.
Portugal IBAN position by position
Example: PT50 7738 6381 8088 2037 5848 2
| Part | Characters | Positions |
|---|---|---|
| Country code | PT | 1–2 |
| IBAN check digits (mod-97) | 50 | 3–4 |
| Bank code | 7738 | 5–8 |
| Branch code | 6381 | 9–12 |
| Account number | 80882037584 | 13–23 |
| National check digits | 82 | 24–25 |
The BBAN is the 21-digit NIB: 4-digit bank, 4-digit branch, 11-digit account and 2 national check digits.
Test cases for Portugal IBAN fields
| Input | Expected | Why |
|---|---|---|
PT50 7738 6381 8088 2037 5848 2 | valid | print format |
PT50773863818088203758482 | valid | electronic format |
pt50 7738 6381 8088 2037 5848 2 | valid | lower case — normalize first |
PT51773863818088203758482 | invalid | wrong check digits |
PT5077386381808820375848 | invalid | 24 characters, Portugal needs 25 |
PT507738638180882037584821 | invalid | 26 characters |
FAQ
How many characters does a Portugal IBAN have?
25 characters, for example PT50773863818088203758482.
Is Portugal in SEPA?
Yes — euro transfers and SEPA direct debits work with this IBAN format.
Are these real Portugal bank accounts?
No. They are random numbers with a valid structure, for testing only. A transfer to them would be rejected.
How do I check an IBAN someone gave me?
Use the IBAN validator: it shows the country, checksum result and where a typo probably is.
More test data for Portugal
Portugal VAT number · Portugal phone numbers · Portugal addresses
Other countries
Austria · Belgium · Bulgaria · Croatia · Cyprus · Czech Republic · Denmark · Estonia · Finland · France · Germany · Greece · Hungary · Iceland · Ireland · Italy · Latvia · Liechtenstein · Lithuania · Luxembourg · Malta · Monaco · Netherlands · Norway · Poland · Romania · Saudi Arabia · Slovakia · Slovenia · Spain · Sweden · Switzerland · Turkey · Ukraine · United Arab Emirates · United Kingdom