Skip to main content

IBAN format by country

Denmark IBAN format: length, structure and example

An IBAN from Denmark always has 18 characters: the country code DK, two check digits and the 14-character BBAN, made up of the 4-digit registration number (reg. nr.), 9-digit account number and 1-digit national check digit. Example: DK50 0040 0440 1162 43.

IBAN length
18 characters
Country code
DK (positions 1-2)
Check digits
Positions 3-4, mod-97
BBAN structure
4n 9n 1n (4 digits, 9 digits, 1 digit)
Registration number (reg. nr.)
Positions 5-8
SEPA
Yes, non-euro

Validate an IBAN from Denmark

Runs entirely in your browser. Nothing you type is sent, stored or tracked.

Try

Denmark IBAN structure

Positions count from the first character of the IBAN. Values in the last column come from the specimen for Denmark in the SWIFT IBAN Registry, release 102 (June 2026).

FieldPositionsLengthSpecimen
Country code1-22DK
IBAN check digits3-4250
Registration number (reg. nr.)5-840040
Account number9-179044011624
National check digit1813

SWIFT notation: DK2!n4!n9!n1!n, where n = digits, a = upper-case letters, c = letters or digits and "!" means a fixed length.

Denmark IBAN example

DK5000400440116243

Print format: DK50 0040 0440 1162 43

  • Country code: DK
  • IBAN check digits: 50
  • Registration number (reg. nr.): 0040
  • Account number: 044011624
  • National check digit: 3

This is the published specimen from the SWIFT IBAN Registry, not a real customer account. It passes the mod-97 check, so use it to test forms and integrations; never send money to it.

National account format in Denmark

4-digit registration number (reg. nr.) plus an account number of up to 10 digits.

To find the registration number (reg. nr.) in any IBAN from Denmark, read characters 5-8. The validator above splits every field out for you.

SEPA and direct debits in Denmark

Denmark is in SEPA but does not use the euro. SEPA Direct Debit only covers collections in euro; payments in the local currency run on domestic schemes.

SEPA Direct Debit lets a creditor collect from any SEPA IBAN under a signed mandate. Each mandate carries a unique mandate reference (UMR) and the creditor's SEPA Creditor Identifier. Under the Core scheme a payer can ask for a refund within 8 weeks of an authorised debit and within 13 months of an unauthorised one; the B2B scheme has no refund right.

Collections that fail come back as R-transactions: rejects before settlement, returns after it and refunds requested by the payer. Each carries an ISO 20022 reason code, for example AC04 (account closed), AM04 (insufficient funds), MD01 (no mandate) or MS02 (refused by the payer).

Every SEPA reason code, with what to do next, is in the SEPA Direct Debit reason code reference.

Why a direct debit fails even with a valid IBAN

An IBAN validator only proves the number is well formed. A direct debit can still come back unpaid because of what sits behind the account:

  • Account closed or moved: the IBAN was valid when the mandate was signed (SEPA reason code AC04).
  • Insufficient funds: the most common soft failure, and the one where the timing of the next attempt matters most (SEPA AM04).
  • Mandate problems: no valid mandate, a cancelled instruction or a payer who refused the debit (SEPA MD01 and MS02).
  • Account cannot be debited: savings accounts and some e-money or blocked accounts reject direct debits outright (SEPA AC06 and AG01).
  • Refunds after the fact: under the SEPA Core scheme a payer can reclaim an authorised debit for 8 weeks, so a collection that "succeeded" can still reverse.

Look up any return code in the SEPA Direct Debit reason codes, or see how Slicker handles failed direct debits.

Frequently asked questions

How many characters does an IBAN from Denmark have?

An IBAN from Denmark always has 18 characters: the country code DK, two check digits and a 14-character BBAN made up of the 4-digit registration number (reg. nr.), 9-digit account number and 1-digit national check digit.

What does an IBAN from Denmark look like?

The SWIFT IBAN Registry specimen for Denmark is DK50 0040 0440 1162 43 (electronic format DK5000400440116243). It is a published sample, not a real customer account, and it passes the mod-97 check.

Is Denmark part of SEPA?

Yes. Denmark is in the SEPA schemes' geographical scope. SEPA Direct Debit covers euro collections only; local-currency debits use domestic schemes.

Where is the bank code in an IBAN from Denmark?

Characters 5-8 (0040 in the specimen) are the registration number (reg. nr.). The account number is characters 9-17. Positions count from the first letter of the country code.

Other IBAN formats

Losing subscription revenue to failed direct debits?

Slicker reads the reason code of every failed SEPA, Bacs or card payment and decides whether, when and how to retry, or when only the customer can fix it. Smart retries run on your existing billing platform, and you only pay when we outperform your current setup in a 50/50 test.

Cookie preferences

Your privacy matters

We use analytics to understand how you use our site and improve your experience. Privacy Policy