US Health · Validation
Medicare beneficiary identifier (MBI) format check.
Check whether a Medicare Beneficiary Identifier matches the 11-character CMS format. Format only: it cannot tell you whether anyone is enrolled.
The rule: 11 characters, pattern C A AN N A AN N A A N N. C is a digit 1-9, N is a digit 0-9, A is a letter A-Z except S, L, O, I, B and Z, and AN is either. Example: 1EG4-TE5-MK73. Dashes are optional here; on the card they are only for reading.
How the MBI format works
The Medicare Beneficiary Identifier replaced the Social Security based number on Medicare cards. It has 11 characters, is randomly generated, and its characters carry no meaning. It has no check digit, so a format test is all that can be done offline.
Position by position
- Position 1: digit 1-9
- Position 2, 5, 8, 9: letter A-Z, excluding S, L, O, I, B, Z
- Position 3, 6: digit 0-9 or a letter from the same allowed set
- Position 4, 7, 10, 11: digit 0-9
CMS excludes S, L, O, I, B and Z to avoid confusion with digits, says dashes are not part of the MBI, and converts lowercase to uppercase, which this tool also does.
Format only — not an enrollment lookup
This page checks format only. A string that matches can still be an MBI that was never issued, and a real MBI cannot be confirmed here. Providers check eligibility through their Medicare Administrative Contractor portal.
Sources
- CMS, Understanding the Medicare Beneficiary Identifier (MBI) Format (PDF) (11 characters, position types, example 1EG4-TE5-MK73)
- CMS, New Medicare Card (restates 11 characters and the excluded letters)
Both sources are CMS. No independent second source or maintained reference implementation was found, so this page rests on the CMS specification alone.
Privacy and scope
An MBI is sensitive health-insurance data. This tool runs entirely in your browser: nothing you type is transmitted, stored, or logged, and it checks format only, with no query to Medicare or any state system. States cannot confirm enrollment from this page either. Do not enter numbers belonging to other people that you have no reason to hold.
What the Medicare number looks like now
Searches such as “medicare id number format” and “medicare beneficiary identifier example” all come back to one document: the CMS guide to the MBI format. The Medicare Beneficiary Identifier replaced the Social Security based Health Insurance Claim Number (HICN) on Medicare cards, and CMS says each MBI is randomly generated, unique and “non-intelligent”: its characters carry no hidden meaning. Unlike the old number, it does not reveal a Social Security number, a birth date, a state or an enrolment date. CMS describes the MBI as confidential, to be protected like other personally identifiable information.
That has a practical consequence for anyone building a form or checking a record: there is no check digit and no lookup you can do offline. The only thing a program can verify is the shape of the string, which is what this page does.
The format, position by position
An MBI is 11 characters, written on the card in three groups, for example 1EG4-TE5-MK73. CMS defines each position with one of four character types: C (a digit 1 to 9), N (a digit 0 to 9), A (a letter) and AN (either).
| Position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | C | A | AN | N | A | AN | N | A | A | N | N |
| Example 1EG4TE5MK73 | 1 | E | G | 4 | T | E | 5 | M | K | 7 | 3 |
Walking through the example: position 1 is the digit 1 (allowed, since it must be 1 to 9); positions 2, 5, 8 and 9 are the letters E, T, M and K (all permitted letters); positions 3 and 6 are G and E, which may be letters or digits; and positions 4, 7, 10 and 11 are the digits 4, 5, 7 and 3. Letters are always upper case, although CMS says its system converts lower case to upper case, and this tool does the same.
Why S, L, O, I, B and Z are missing
CMS uses every letter from A to Z except S, L, O, I, B and Z. The excluded letters are the ones most easily confused with digits (5, 1, 0, 8 and 2) when a number is read off a card or typed in. So an MBI containing the letter O is not a Medicare number: where a zero appears, it is the digit 0. Position 1 also can never be 0, which separates it from many other digit-only identifiers.
Common mistakes
- Including the dashes. The dashes on the card are only for reading. CMS states they are not part of the MBI and are not used in its systems or file formats, so leave them out of claims and records.
- Using the old HICN. The legacy number was built on a Social Security number plus a suffix. It does not match this format and CMS describes a transition period that ended on 31 December 2019, during which providers could use either number on fee-for-service claims.
- Reading the letter O or I as a digit. Because those letters are never used, an O or an I in a transcribed number means the transcription is wrong.
- Assuming a format match means the person is enrolled. It does not. A string can follow every rule and never have been issued.
What this validator cannot tell you
This is a format check only. It does not contact CMS, does not check eligibility and does not confirm that an MBI belongs to a particular person or is active. Providers confirm eligibility through their Medicare Administrative Contractor portal. If you are testing software, use a made-up string that follows the pattern, such as the CMS example, rather than a real beneficiary’s number. Medicare cards are for people in the United States; Canadian provincial health cards use different formats, see the health card number formats by province.
Frequently asked questions
What is the format of a Medicare Beneficiary Identifier?
An MBI is 11 characters made of numbers and upper-case letters. Reading left to right the types are: digit 1–9, letter, letter or digit, digit, letter, letter or digit, digit, letter, letter, digit, digit. CMS’s published example is 1EG4-TE5-MK73.
Which letters are not used in an MBI?
S, L, O, I, B and Z are never used. They are the letters most easily mistaken for digits, so every letter in a genuine MBI comes from the other twenty.
Does a Medicare ID have dashes?
Cards print the MBI in groups for readability, but CMS says dashes are not part of the MBI and are not used in its systems or file formats. Enter the 11 characters without dashes or spaces.
Does the MBI contain my Social Security number?
No. CMS says each MBI is randomly generated and its characters have no hidden or special meaning. That is the main reason it replaced the HICN on Medicare cards.
Does the MBI have a check digit?
The CMS format description lists only the character types for each position and no check digit, so the only offline test is the format itself. Whether a number was actually issued can only be confirmed through CMS-approved eligibility channels.
Can I use lower-case letters?
Yes. CMS says its system converts lower-case letters to upper case, and this validator does the same before checking.
If my number passes this check, is it a real Medicare number?
No. Passing means the 11 characters follow the CMS format. It does not show that CMS issued the number or that anyone is enrolled.
Is the number I type stored or sent anywhere?
No. The check runs in your browser. Even so, an MBI is sensitive health-insurance data, so use the CMS example or a made-up string when testing and avoid typing other people’s numbers.