Canadian · Validation

DEA number validator.

Check a US DEA controlled-substance registration number against its real weighted checksum — the same catch a pharmacist runs before filling a prescription.

How it checks out: a DEA number is 2 letters followed by 7 digits. The 7th digit is a check digit: add the 1st, 3rd and 5th digits; separately add the 2nd, 4th and 6th digits and double that sum; add the two totals together; the ones-place digit of that total must equal the 7th digit.

Source: Wikipedia — DEA numberVerified 29 September 2026

Advertisement

Inputs

2 letters (2nd may be the digit 9 for a business-address registration) + 7 digits.

Result

Enter a DEA number and press Check.

How the DEA number check digit is calculated

A US DEA registration number identifies anyone registered with the Drug Enforcement Administration to handle controlled substances — practitioners, hospitals, distributors, manufacturers, and more. It's 2 letters followed by 7 digits.

The first letter marks the registrant type (for example C = practitioner, M = mid-level practitioner, B = hospital/clinic, F = distributor). The second letter is normally the first letter of the registrant's last name — or the digit 9 for a registrant using a business address instead of a personal name.

The 7 digits that follow include a check digit as the 7th (last) one:

  1. Add the 1st, 3rd and 5th digits together.
  2. Add the 2nd, 4th and 6th digits together, then double that sum.
  3. Add the two results together. The ones-place digit of that total is the check digit, and must match the 7th digit of the number.

Worked example: the number F91234563 (registrant type F = distributor, business-address 9). Digits 1,2,3,4,5,6 → odd positions 1+3+5 = 9; even positions (2+4+6)×2 = 24; total 33; ones-place digit 3 — matching the number's actual 7th digit, so it checks out.

Worked example: F91234563, and a wrong version

F91234563 is two letters (F, 9) followed by the seven digits 1234563. The first six digits are 1 2 3 4 5 6 and the seventh, 3, is the check digit.

Check-digit arithmetic for F91234563
StepCalculationResult
Odd positions (1st, 3rd, 5th)1 + 3 + 59
Even positions (2nd, 4th, 6th), doubled(2 + 4 + 6) x 224
Total9 + 2433
Check digitOnes place of 333

The computed 3 matches the seventh digit, so F91234563 passes. F91234564 computes the same 3 but ends in 4, so the tool reports a mismatch. Neither number is a real registration.

Sources and as-of date

Check-digit procedure and registrant-type letters: Wikipedia, DEA number (page reachable on 26 October 2026). Verified 29 September 2026; the example above was re-run through this tool on 26 October 2026. We did not find a current DEA-published page restating the formula, so the rule rests on that reference.

Frequently asked questions

What does a DEA number look like?

Two letters followed by seven digits. The first letter marks the registrant type and the second is usually the first letter of the registrant's last name, or 9 for a business address.

How is the check digit calculated?

Add the 1st, 3rd and 5th digits, add the 2nd, 4th and 6th digits and double that, add the two totals, and the ones digit is the 7th digit.

Does a passing DEA number prove a prescriber is registered?

No. It proves the arithmetic only. Verify a registration with the DEA or the prescriber's certificate.

Checksum only — not a DEA registry lookup

This tool checks the number's arithmetic entirely in your browser. It does not query the DEA's registrant database, so a checksum pass is not proof the number was ever actually issued or is still active — only the prescriber's DEA registration certificate or a direct DEA/pharmacy-benefit verification can confirm that. Nothing you type is transmitted, stored, or logged.

Advertisement
Advertisement