# Ontario OHIP number format and version code

> An Ontario health number is 10 digits, followed on most cards by a one or two letter version code. What each part means and who may ask for it.

Page: https://vellumsoft.net/detect/health-card-numbers/ontario-ohip  
Updated: 2026-11-16  
Publisher: VellumSoft (Titan Grand Ventures LLC)

An Ontario health number, often called an OHIP number, is a 10-digit number that stays with a person for life [1]. On a photo health card it is followed by a two-letter version code, which identifies that particular card [2]. Older red and white cards may show no version code, one letter or two [2]. A replacement card keeps the same health number and gets a new version code [3].

As a pattern, with N for a digit and V for a letter, that is `NNNNNNNNNN VV`. It is a pattern, not a number.

## What the 10 digits and the version code mean

The Ministry of Health calls the health number a "unique 10-digit lifetime identification number", assigned to all eligible Ontario residents [1]. The ministry's manuals describe it only as an identifier. They do not say that any digit stands for a birth date, a region or a sex.

The version code is a separate thing. The ministry's technical specification defines it as "an alphabetic identifier that along with the health number uniquely identifies a health card version" [2]. The validation manual gives the reason it exists: "Version codes were introduced to uniquely identify a health card and allow the ministry to verify the status of a health card to reduce fraud" [1].

| Card | Health number | Version code |
|---|---|---|
| Photo health card | 10 digits [1] | Two letters [2] |
| Red and white health card | 10 digits [1] | None, one letter or two letters [2] |

Individual health numbers and the red and white card date from 1990 [3]. The photo card followed in 1995 [1]. Both remain acceptable as proof of entitlement if the card is valid and belongs to the person presenting it [3].

## When the version code changes

The ministry says that in most cases, "when a change in information is made or the card is reported lost, stolen, damaged or not received, a replacement card will be issued with the same health number and a new version code" [3]. On red and white cards the version code appears on replacement cards only [3].

This matters for anyone reading old records. A photocopy of a card taken years ago can show a version code that is no longer current, while the 10 digits beside it still point to the same person [1][3]. A stale version code does not make the copy harmless.

## Is there a check digit?

The ministry documents read for this page do not publish a check-digit formula, but one response identifier in them points to a modulus 10 test [2]. The validation service answers with response code 05, identifier `NOT_10_DIGITS`, when the submitted number is not 10 numeric digits [2]. It answers with response code 10, identifier `FAILED_MOD10`, for a submitted number that does not exist on the ministry's system [2].

The same specification gives the accepted shape as a pattern. The health number is ten digits with a first digit from 1 to 9, and the version code is up to two capital letters [2].

Passing a shape test is not the same as being a real number. The validation manual lists the edit checks the ministry runs, and one of them is that the "10-digit health number has been issued by the ministry" [1]. Only the ministry's database can answer that.

## Where OHIP numbers turn up in files

Inside a clinic the number is everywhere it is meant to be: billing claim files, referral letters, lab requisitions and intake forms scanned to PDF. Those are expected, and the work there is knowing which folders and mailboxes hold them.

The harder cases sit outside health care. An employer's benefits folder with photocopied cards. A school or camp registration export with a health card column. A decade-old mailbox export where a parent emailed a photo of a child's card. In each one the number arrives with a name and often a date of birth, which is what makes the copy sensitive.

## Who may ask for the number

PHIPA treats the pieces as one. It defines "health number" as "the number, the version code or both of them" [4], and the ministry notes that a person's health number and version code are personal health information under that Act [3].

Section 34 then limits who may ask [4]. "No person shall require the production of another person's health card", except a person who provides a provincially funded health resource to the cardholder [4]. A person who is neither a health information custodian nor a custodian's agent "shall not collect or use another person's health number" except for the listed purposes [4]. A clinic billing the province is covered. An employer or landlord that kept card photocopies as identification should ask which listed purpose, if any, covers keeping them.

The wider rules for custodians are on the [PHIPA in Ontario](https://vellumsoft.net/canada/phipa) page, and the other provinces are compared in [Canadian health card numbers](https://vellumsoft.net/detect/health-card-numbers).

## Finding OHIP numbers with VellumSoft

![VellumSoft detector catalog listing enabled and disabled detectors](https://vellumsoft.net/assets/screens/detector-catalog.webp)

Ontario (OHIP) health numbers are among VellumSoft's Canadian identifiers. The OHIP detector is Tier 1 and high impact, and a Tier 1 match must pass a mathematical or structural check.

The limits matter for health cards in particular. Version 2.0.2 does not read Word (DOCX), Excel (XLSX), ZIP or 7z files. Photocopied cards are images, so they depend on OCR, and a single misread character defeats a checksum. VellumSoft does not redact or delete, so removing a copy happens in the system that holds it.

The steps of a scan are set out on the [how it works](https://vellumsoft.net/how-it-works) page. Related identifiers have their own pages: [Social Insurance Numbers](https://vellumsoft.net/detect/sin), [US Social Security numbers](https://vellumsoft.net/detect/ssn), the [Quebec RAMQ number](https://vellumsoft.net/detect/health-card-numbers/quebec-ramq) and the full [detector list by country](https://vellumsoft.net/detect/).

For a patient, the short version is that the 10 digits are yours for life and the letters change with each card [1][3]. For an office holding old copies, the version code on the copy may be out of date but the number is not.

This page explains the law in general terms and is not legal advice.

## Questions

### How many digits is an OHIP number?

Ten. The Ministry of Health describes the health number as a unique 10-digit lifetime identification number assigned to every eligible Ontario resident. The letters that follow it on most cards are the version code, which identifies the card and is not part of the 10 digits.

### What is the version code on an Ontario health card?

It is an alphabetic identifier that, together with the health number, identifies one specific card. Photo health cards carry a two-letter version code. Red and white cards may have no version code, one letter or two letters. The ministry introduced version codes so it could verify the status of a card and reduce fraud.

### Does my OHIP number change when I get a new card?

No. The ministry says that in most cases, when information changes or a card is reported lost, stolen, damaged or not received, the replacement card is issued with the same health number and a new version code. The number is meant to stay with a person for life.

### Can an employer in Ontario ask for my health card?

PHIPA says no person shall require the production of another person's health card, unless that person provides a provincially funded health resource to the cardholder. Someone who is not a health information custodian may collect or use a health number only for the purposes the Act lists.

### Is there a check digit in an Ontario health number?

The ministry's validation service has a response code 10 whose identifier is FAILED_MOD10, which points to a modulus 10 test. The ministry documents read for this page do not publish the formula. They do say a number must be 10 numeric digits and must have been issued by the ministry.

## Sources

1. [Ontario Ministry of Health, Health Card Validation Reference Manual (October 2024, PDF)](https://www.ontario.ca/files/2024-10/moh-health-card-validation-reference-manual-en-2024-10-10.pdf)
2. [Ontario Ministry of Health, Technical Specification: Health Card Validation Service via Electronic Business Services (October 2025, PDF)](https://www.ontario.ca/files/2025-10/moh-ohip-technical-specification-health-card-validation-service-via-electronic-business-services-en-2025-10-08.pdf)
3. [Ontario.ca, Resources for Physicians: Registration of Ontario health insurance coverage](https://www.ontario.ca/document/resources-physicians/registration-ontario-health-insurance-coverage)
4. [Ontario e-Laws, Personal Health Information Protection Act, 2004 (consolidated text, Word download)](https://www.ontario.ca/laws/docs/04p03_e.doc)
