Skip to content

Identifiers

Check a DEA number

Check the format and the check digit of a DEA registration number and read its registrant type. It runs in your browser: the number is never sent.

Try an example
ValidExample
DEA number
AB1234563
Registrant type
A: practitioner, hospital, clinic or pharmacy
Name initial
B
Check digit
3, correct
Calculation
9 + 2 × 12 = 33, last digit 3
Registration status
Not checked: the format and check digit say nothing about whether the registration is active

How to read the result

Row What it tells you
Reason When the number is invalid: wrong length, wrong format or a check digit that does not match
DEA number The number in upper case, without spaces or hyphens
Registrant type The first letter and the type of registrant it stands for
Name initial The second letter, the initial of the registrant's last name, or a note that it is the digit 9 of a business registration
Check digit The 7th digit, and whether it matches the calculation
Calculation The sums behind the check, such as 9 + 2 × 12 = 33, last digit 3
Registration status Always not checked: the format says nothing about whether the registration is active

How the check works

  1. Spaces and hyphens are removed and letters are turned to upper case.
  2. The number must have 9 characters: a letter, then a letter or the digit 9, then 7 digits.
  3. The check digit is computed from the first 6 digits, d1 to d6: (d1 + d3 + d5) + 2 × (d2 + d4 + d6). The last digit of that total must equal d7.
  4. The first letter is read as the registrant type: A, B, F and G for practitioners, M for mid-level practitioners, P and R for businesses, X for a former DATA-waiver number. Any other letter is shown as another registrant category.

The check catches many typing mistakes, not all of them: a 2nd, 4th or 6th digit off by exactly 5 adds or removes 10, which leaves the last digit of the total unchanged, and so do some swaps of two digits. It also cannot tell a real number from an invented one that someone computed to pass.

Verify a registration

A number that passes is well formed, nothing more. To know whether a registration exists, is active and covers the schedules in question, use DEA's registration validation service, which requires a DEA account, or ask the registrant for a copy of the registration certificate. Compare the second letter with the last name of the prescriber as a quick extra check.

Related tools: sanctions check to screen the name of a registrant, NAICS code lookup to classify a pharmacy or a distributor, and federal contractor lookup.

Frequently asked questions

What is a DEA number?
The registration number the US Drug Enforcement Administration (DEA) gives a practitioner, pharmacy, hospital, manufacturer or distributor allowed to handle controlled substances. Pharmacies and insurers ask for it on prescriptions for controlled substances. It has 2 letters and 7 digits, the last of which is a check digit.
Does a valid result mean the registration is active?
No. A valid format and check digit only show that the number is well formed. A made-up number can pass, and so can the number of a registration that expired or was revoked. DEA's registration validation service tells you whether a registration is active, and it needs a DEA account.
How is the check digit computed?
Add the 1st, 3rd and 5th digits, then add twice the sum of the 2nd, 4th and 6th digits. The last digit of the total must equal the 7th digit. For AB1234563: 1 + 3 + 5 = 9, 2 + 4 + 6 = 12, and 9 + 2 × 12 = 33, whose last digit, 3, is the 7th digit.
What does the first letter mean?
It gives the type of registrant. A, B, F and G are practitioners, hospitals, clinics and pharmacies; M is a mid-level practitioner, such as a nurse practitioner or a physician assistant; P and R are manufacturers, distributors, researchers, laboratories, importers and exporters; X was the prefix of the numbers prescribers held under the former DATA waiver for opioid addiction treatment.
What does the second letter mean?
For a person, it is usually the first letter of the registrant's last name, so it should match the name on the prescription. A business registration can carry the digit 9 instead of a letter.
Is the number I type sent anywhere?
No. The check runs in your browser, so the number never leaves your device, and there is no daily limit.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time