The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Canadian Social Insurance Number

Prev Next

Canadian Social Insurance Number (SIN) is a 9-digit number.

Validator

Validator

Description

Luhn 10 Check

Validates using the Luhn 10 checksum.



Matched expressions

Regex expressions

Description

Score

(?i:\b[1-79][0-9]{8}\b)

Matches a 9-digit number without a delimiter. Matches 100000000–799999999 or 900000000–999999999.

1

(?i:\b[1-79][0-9]{2} [0-9]{3} [0-9]{3}\b)

Matches a 9-digit number of the format NNN NNN NNN delimited by space.

1

(?i:\b[1-79][0-9]{2}-[0-9]{3}-[0-9]{3}\b)

Matches a 9-digit number of the format NNN-NNN-NNN delimited by hyphen.

1



Ignored expressions

None