Black Friday sale
PTCB Quiz Prep

DEA Number Checker

Updated

Type a DEA number to check its format, what the first letter means and whether the check digit adds up. Add the prescriber's last name to compare the second letter. Every step is shown in the same layout you work by hand on the PTCE. To learn the method itself, read How to Calculate a DEA Number (Format and Check Digit).

Result

AB1234563: Passes the check digit

The number is built correctly.

  1. Format. AB1234563: 2 letters, then 7 digits. Format OK.
  2. First letter. A: practitioner number issued before October 1, 1985 (also used for hospitals, clinics, pharmacies and teaching institutions).
  3. Second letter. Not checked. Add the prescriber's last name to compare the second letter.
  4. Step 1. Digits are 1 2 3 4 5 6, with 3 as the check digit.
  5. Step 2. Odd positions: 1 + 3 + 5 = 9.
  6. Step 3. Even positions: 2 + 4 + 6 = 12, doubled = 24.
  7. Step 4. Total: 9 + 24 = 33. Units digit of 33 is 3, which matches the check digit.

A passing check digit only shows the number is built correctly. It does not prove DEA issued it, that it belongs to this prescriber, or that the registration is active. Pharmacies confirm registrations with DEA's Registration Validation tool. A technician flags a failed or odd number to the pharmacist. For exam practice and learning only. This tool does not look up DEA registrations, and nothing you type leaves your browser.

How the DEA number checker works

A DEA number is 2 letters and 7 digits. The checker adds the 1st, 3rd and 5th digits, adds the 2nd, 4th and 6th digits and doubles that sum, then adds the two results. The units digit of the total has to equal the 7th digit.

(1st + 3rd + 5th) + 2 × (2nd + 4th + 6th)

last digit of the total = 7th digit

It also reads the first letter as the registrant type and, if you enter a last name, checks the second letter against it. A mismatch is a reason to check further, not a fail on its own.

Example: AB1234563

The digits are 1 2 3 4 5 6, with 3 as the check digit. The odd positions give 1 + 3 + 5 = 9. The even positions give 2 + 4 + 6 = 12, doubled to 24. The total is 9 + 24 = 33, and its units digit, 3, matches the check digit, so the number passes. The DEA number guide works a second example and shows how a swapped pair of digits fails.

What the first letter means

  • A, B, F: practitioners, and also hospitals, clinics, pharmacies and teaching institutions. A numbers were issued before October 1, 1985, B from that date, and F is a later series.
  • G: Department of Defense personal service contractors.
  • M: mid-level practitioners, such as nurse practitioners, physician assistants and optometrists.
  • P, R: manufacturers, distributors, researchers, analytical labs, importers, exporters, reverse distributors and narcotic treatment programs.
  • X: not a registration letter. It marked the DATA-waiver ID for prescribing buprenorphine, which Congress ended on December 29, 2022. DEA said on January 12, 2023 that these numbers are no longer needed on any prescription.

Source: the DEA Pharmacist's Manual (2022) and DEA's letter to registrants of January 12, 2023.

Frequently asked questions

Does a valid check digit mean the DEA number is real?

No. It shows the number is built correctly. Anyone who knows the formula can make a number that passes. Only DEA registration records confirm that the number was issued, belongs to the prescriber and is active.

What does the first letter of a DEA number mean?

The registrant type. A, B and F are practitioners (also hospitals, clinics and pharmacies), G is a Department of Defense personal service contractor, M is a mid-level practitioner such as a nurse practitioner, and P or R covers manufacturers, distributors and narcotic treatment programs.

What if the second letter does not match the prescriber's last name?

Treat it as a reason to check, not proof of forgery. DEA says the second letter is almost always the first letter of the last name, and a name change can leave an old letter in place. A technician flags it to the pharmacist.

Can this tool look up a prescriber's DEA registration?

No. It only does the arithmetic, in your browser. Pharmacies check real registrations with DEA's Registration Validation tool, which they log into with their own DEA registration.

Practice DEA numbers without the checker

On the exam you work the check digit by hand, so use the checker to confirm your answers, not to replace the method. Drill the rest with the federal requirements quiz and the controlled substance dispensing practice set. The full Federal Requirements domain guide puts both in context.

PTCB Quiz Prep is an independent study resource, not affiliated with PTCB or the Drug Enforcement Administration. This checker is for exam practice and learning. It does not look up DEA registrations and cannot confirm a real prescriber.