The Rx BIN, PCN and group on pharmacy benefit cards tell a pharmacy where to send a prescription claim. The RxBIN names the processor that receives it, the RxPCN narrows it to a system within that processor, and the RxGrp identifies the drug plan group. Pharmacies read all three; a medical office records them for prescribing and coverage questions.
What the Rx BIN number routes
The Rx BIN number routes a pharmacy claim to the right processor. It is a six-digit number printed on the card after the label "RxBIN", and the pharmacy's system puts it at the front of every electronic prescription claim so the network knows which processor should receive it. The pharmacy reads it; the patient rarely notices it.
The standard labels come from the NCPDP pharmacy card guide. CMS's appendix on NCPDP pharmacy identification specifications, which reproduces tables from an older edition of that guide, lists the BIN with the label "RxBIN" and a field size of six. It compares the BIN to a five-digit ZIP code that "determines the routing destination".
The six digits are changing. An NCPDP notice to payers and processors on the eight-digit IIN says the IIN, formerly known as the BIN, is changing from six digits to eight, and that version F6 of the NCPDP Telecommunication Standard requires the eight-digit format. The federal rule for pharmacy eligibility transactions, 45 CFR 162.1202 on the eCFR, allows either version from August 14, 2027 and only version F6 from April 14, 2028. An intake form should allow eight digits now.
What is the PCN on a pharmacy card for?
The PCN, or processor control number, on a pharmacy card narrows the routing that the BIN starts. One processor can run many plans and systems behind a single BIN, and the PCN tells it which one should handle the claim. The CMS appendix gives it a field size of ten characters, and it prints after the label "RxPCN".
The CMS appendix continues its ZIP code comparison: the PCN is like the "plus 4" that gives a more precise destination. It says the BIN may stand for a large computer and the PCN for "a subset system of the computer". It also says the processor control and group numbers are required on the card when Medicare drug plans need them for proper routing.
A PCN is easy to mistype because it often mixes letters and digits in short runs, such as the fictional EXAMPLE01. Copy it exactly as printed, including case if the card shows mixed case.
Rx Group vs the medical group number
The Rx Group and the medical group number on one card can differ because they serve different systems. The medical group number identifies the employer or plan group to the health plan for medical claims. The RxGrp identifies the group to the pharmacy benefit processor, which may assign its own numbering. Even when they match, the card prints them separately.
The WEDI Health ID Card Implementation Guide v1.1, posted by the Louisiana Department of Health, says RxGrp is required when the drug plan needs it, "even if it is the same as the medical group number", because its presence tells the pharmacy that the drug plan needs it. The CMS appendix allows a plain "Grp" label only on a combined card where the group number is identical for every service on it.
What the medical group number identifies is covered in the guide to what the group number on an insurance card identifies.
Pharmacy fields at a glance
Every example value in this table is fictional and chosen so it cannot match a real plan.
| Field | Label on card | What it looks like (example) | Who reads it | What breaks when missing |
|---|---|---|---|---|
| BIN | RxBIN | Six digits, moving to eight: 000000 | Pharmacy claim system | The claim cannot reach a processor |
| Processor control number | RxPCN | Up to 10 characters: EXAMPLE01 | Processor | The claim may reach the wrong plan or benefit within the processor |
| Pharmacy group | RxGrp | Up to 15 characters: EXRX0 | Processor | The processor may not find the group's drug benefits |
| Pharmacy cardholder ID | RxID | Same as or different from the medical member ID: XQZ00000000 | Pharmacy | The member is not found when it differs and is left out |
| Person code | Printed beside the name | One to three characters: 01 | Pharmacy | The wrong family member may be matched |
The WEDI guide says pharmacy fields on a combined card print in the order RxBIN, RxPCN, RxGrp, RxID with nothing between them, and that RxID is required only when it differs from the medical member ID.
Why does a medical office record pharmacy card fields?
A medical office records pharmacy card fields because prescribing touches the drug plan even though the office never bills it. Prescribers and their staff answer pharmacy calls, prior authorization requests and coverage questions, and those conversations start from the pharmacy benefit identifiers. Patients also carry separate pharmacy cards that the office would otherwise never see.
Federal rules for Medicare drug plans show how closely prescribing and the drug plan are linked. 42 CFR 423.160 on the eCFR sets electronic prescribing standards that cover medication history and information on eligibility, benefits and prescriptions, and requires Part D sponsors to offer real-time benefit tools that integrate with at least one prescriber's e-prescribing system or electronic health record.
Practices that key prescriptions or intake forms by hand can send both to Schema Care, which reads drug, strength, dose and prescriber from a prescription, and insurance details from an intake form; the documents Schema Care reads are listed on the homepage.
Pharmacy benefit cards missing a BIN or PCN
Pharmacy benefit cards missing a BIN or PCN usually fall into two cases: a medical card with no pharmacy lines because the drug benefit sits on a separate card, and a combined card with no PCN because the drug plan does not need one. A blank PCN on its own is often normal.
The WEDI guide says RxBIN is always required on a combined medical and drug card, while RxPCN and RxGrp are required only when the drug plan needs them. It also recommends issuing separate medical and drug cards when space on one card is too tight. So a medical card with no RxBIN at all usually means there is a second card. Ask the patient for it before marking the field unknown.
Medicare is a common source of second cards. The CMS new Medicare card page says people with Medicare should keep using their Medicare Advantage or Medicare drug plan cards as they always have. The Medicare card itself carries the Medicare number, explained in the post on the Medicare card MBI format, but no pharmacy routing fields.
How software picks these small labelled fields out of a card image is covered in the guide to insurance card OCR. For prescriptions, medication lists and other clinical paperwork, see the clinical records category.