How to Check a DEA Number (Practice)

Quick answer: A practitioner DEA number is two letters and seven digits. To check it, add digits 1, 3 and 5; add digits 2, 4 and 6 and double that sum; add both results. The last digit of the total must equal the 7th digit. Example: BJ1234563: 9 + 24 = 33, so the check digit 3 matches.

How a practitioner DEA number is built

DEA's Pharmacist's Manual (2022 edition) describes the construction of a valid practitioner registration number:

  • First letter: the registrant type. Numbers issued to physicians, dentists, veterinarians and other practitioners before October 1, 1985 began with A. Practitioner numbers issued after that date begin with B or F. Mid-level practitioners' numbers begin with M.
  • Second letter: almost always the first letter of the registrant's last name (J for Jones, S for Smith).
  • Seven digits: a computer-generated sequence. DEA's own example is MJ3614511.

The manual says knowing how the number is constructed "can be a useful tool for recognizing a forged prescription". The word "almost" matters: the second letter can legitimately differ, for example after a name change, so a mismatch is a reason to refer the prescription to the pharmacist, not proof of forgery.

The check-digit formula, step by step

  1. Add the 1st, 3rd and 5th digits.
  2. Add the 2nd, 4th and 6th digits, then multiply that sum by 2.
  3. Add the results of steps 1 and 2.
  4. The last (ones) digit of that total is the check digit. It should equal the 7th digit of the number.

Try it on DEA's published example, MJ3614511: 3 + 1 + 5 = 9; (6 + 4 + 1) × 2 = 22; 9 + 22 = 31. The last digit is 1, and the 7th digit is 1, so it matches. DEA's manual does not print this formula; it is the method taught in pharmacy technician training and named in NHA's ExCPT test plan as "Elements of and formula for DEA number". It is a quick screen for typos and crude fakes.

What the check cannot tell you

A check digit catches many single-digit typing errors and invented numbers, but anyone who knows the formula can make a number that passes. It says nothing about whether the registration is current, whether it covers the schedule prescribed, or whether the prescriber actually wrote the prescription. Those questions belong to the pharmacist, who can verify a registration with DEA's online registration tools and weigh the other warning signs DEA lists in the manual's guide to prescription fraud.

Practice rule: never type real prescribers' DEA numbers into websites, spreadsheets or apps to "test" them. The numbers on this page are fictional, and the check runs entirely on this page.

Exam-style traps

  • Which digits get doubled. It is the even positions (2nd, 4th, 6th). Doubling the odd positions is the most common error.
  • Seven digits, six in the formula. The 7th digit is the answer you compare to, never part of the sum.
  • Letter questions. Expect "which DEA number could belong to Dr. Smith, a mid-level practitioner?" The answer must start with M, have S second, and pass the check digit.

Where this fits on the exams

On the ExCPT, DEA number verification sits in the Laws domain (Controlled Substances subdomain). On the PTCE, controlled substance prescription requirements sit in Federal Requirements. Neither is a calculation domain, but both are arithmetic you can get wrong under time pressure. For the calculation side of the exams, see PTCE math, sig codes and PTCE vs ExCPT.

Worked examples

All three numbers below are fictional strings made up for practice. Each check digit was recomputed independently.

Example 1

Practice prescription signed by "Dr. Jones" with DEA number BJ1234563 (fictional).

  • Fictional number for practice only. Never test real registrants' numbers.

Does the check digit match?

  1. 1st, 3rd and 5th digits: 1 + 3 + 5 = 9.
  2. 2nd, 4th and 6th digits: (2 + 4 + 6) × 2 = 12 × 2 = 24.
  3. Add: 9 + 24 = 33. The last digit is 3.
  4. The 7th digit of the number is 3: it matches.
  5. Letters: second letter J matches the first letter of the last name (Jones).

Answer: Passes the check (still verify with the pharmacist's process)

Example 2

Practice prescription signed by "Dr. Smith" with DEA number FS7654329 (fictional).

  • Fictional number for practice only. Never test real registrants' numbers.

Does the check digit match?

  1. 1st, 3rd and 5th digits: 7 + 5 + 3 = 15.
  2. 2nd, 4th and 6th digits: (6 + 4 + 2) × 2 = 12 × 2 = 24.
  3. Add: 15 + 24 = 39. The last digit is 9.
  4. The 7th digit of the number is 9: it matches.
  5. Letters: second letter S matches the first letter of the last name (Smith).

Answer: Passes the check (still verify with the pharmacist's process)

Example 3

Practice prescription signed by "Dr. Jackson" with DEA number MJ4820195 (fictional).

  • Fictional number for practice only. Never test real registrants' numbers.

Does the check digit match?

  1. 1st, 3rd and 5th digits: 4 + 2 + 1 = 7.
  2. 2nd, 4th and 6th digits: (8 + 0 + 9) × 2 = 17 × 2 = 34.
  3. Add: 7 + 34 = 41. The last digit is 1.
  4. The 7th digit of the number is 5: it does NOT match.
  5. Letters: second letter J matches the first letter of the last name (Jackson).

Answer: Fails the check: refer to the pharmacist

Common mistakes (and the wrong answers they produce)

Each mistake is shown with the wrong answer it produces in the worked examples above.

Doubled the wrong group

Wrong answer it gives: for BJ1234563: (1 + 3 + 5) × 2 + (2 + 4 + 6) = 30, check digit 0. Double the sum of the 2nd, 4th and 6th digits, not the 1st, 3rd and 5th.

Included the 7th digit in the sum

Wrong answer it gives: for BJ1234563: 9 + 24 + 3 = 36, check digit 6. Only the first six digits go into the formula; the 7th digit is what you compare against.

Used the first digit of the total

Wrong answer it gives: for FS7654329: total 39, check digit 3. The check digit is the LAST (ones) digit of the total.

Treated a passing check as proof

Wrong answer it gives: "valid". A matching check digit only means the number is well formed. A forged prescription can carry a real or well-formed number.

Frequently asked questions

How do you check a DEA number?

Add the 1st, 3rd and 5th digits. Add the 2nd, 4th and 6th digits and double that sum. Add the two results; the last digit of the total should equal the 7th digit. Also check that the second letter matches the first letter of the prescriber's last name.

What do the letters in a DEA number mean?

According to DEA's Pharmacist's Manual, practitioner numbers issued before October 1, 1985 began with A; later practitioner numbers begin with B or F, and mid-level practitioner numbers begin with M. The second letter is almost always the first letter of the registrant's last name.

Does a correct check digit prove the prescription is valid?

No. It only shows the number is well formed. The DEA manual describes knowing the number's construction as a useful tool for recognizing forgeries, but the pharmacist remains responsible for verifying that the prescription was issued by an appropriately registered practitioner.

How can a pharmacy verify a DEA registration?

The DEA Pharmacist's Manual says a registrant (pharmacy) may verify a practitioner's DEA number through DEA's CSA Registration Tools. That is the pharmacist's process, not a technician's arithmetic check.

Is the DEA number formula on the ExCPT?

Yes. NHA's ExCPT test plan lists "Elements of and formula for DEA number" (K.47) and the task of identifying elements needed to verify the validity of a DEA number (2B.2).

Is it on the PTCE?

The PTCE content outline (effective January 6, 2026) covers federal requirements for controlled substance prescriptions and DEA schedules in its Federal Requirements domain (18.75%). It does not name the check-digit formula, so treat it as possible but not listed.

References

  1. DEA Diversion Control Division. Pharmacist's Manual, 2022 edition (PDF): Construction of a Valid DEA Registration Number for Practitioners, accessed 2026-11-17
  2. NHA. Test Plan for the ExCPT Exam, based on a 2023 job analysis (PDF), accessed 2026-11-17
  3. PTCB. PTCE Content Outline, effective January 6, 2026 (PDF), accessed 2026-11-17

PTCB, PTCE and CPhT are trademarks of the Pharmacy Technician Certification Board; NHA and ExCPT are trademarks of the National Healthcareer Association. Not affiliated with or endorsed by either. Course conventions vary: use the rules your program teaches.

Educational practice only. Not dispensing guidance: always follow your pharmacy's policies, the pharmacist's direction and the product labeling.