How Do I Match a Key to the Correct Door Lock Cylinder?

To match a key to the correct door-lock cylinder, you need to identify three separate things: the cylinder’s physical format, the keyway/key-blank profile, and the cylinder’s internal pinning/combination . A key can enter a keyway yet still fail to operate the lock if its cuts don’t match the pin heights—or if it’s a restricted, patented, or system-specific credential.
Here’s the mistake that trips up most buyers: treating “the key fits in the hole” as proof of compatibility. For a commercial project, the right mindset is to source the cylinder, keyway, and keys as a controlled keying system—not as loose, interchangeable replacement parts.
First, Identify the Cylinder Format
The cylinder format determines the physical installation interface. The keyway determines which key blank can actually enter it. The pinning determines whether that key will rotate the plug once it’s inside. These are three distinct checks, and skipping any one of them is where compatibility errors come from.
| Cylinder Format | How to Identify It | Typical Use | Key Matching Issue |
|---|---|---|---|
| Euro-profile | Oval/figure-eight body; one fixing screw through the door edge; central cam | Residential multipoint doors, commercial doors, many European systems | Profile, overall length, each-side length, cam, and keyway must all match |
| Mortise cylinder | Round threaded body screwed into a mortise lock; cam/tailpiece operates the case | Commercial storefronts, mortise locks, exit devices | Thread size, length, cam/tailpiece, keyway, and pinning must match |
| Rim cylinder | Surface-mounted cylinder with tailpiece | Older residential doors, storefronts, some exit devices | Tailpiece, mounting pattern, and keyway must match |
| Cylindrical/bored lock cylinder | Part of a bored lockset installed through round door bores | Offices, retail, residential, commercial interiors | Keyway, pin count, and lock-function compatibility |
| Interchangeable core | Removable core held by a control key | Schools, hospitals, offices, multi-door facilities | Core format, control-key system, and keyway must match |
| Proprietary/high-security | Restricted keyway or patented system | High-security, institutional, and managed properties | Authorized dealer, key-control policy, and system documentation required |
ANSI/BHMA A156.5 defines a cylinder as the lock subassembly containing a plug with a keyway and a body with movable detainers, and defines the keyway as the slot in the plug that receives the key . This distinction between the cylinder’s receiving slot and its internal detainers is exactly why format matching and key matching are separate problems.
What to Measure and Record
Document Before You Order Anything
Photograph both sides of the cylinder, the key, the door edge, and the lock face before contacting any supplier. This single habit prevents the majority of mismatched-replacement headaches.
Cylinder Measurements
Record all of the following:
- Manufacturer and model, if visible
- Cylinder format: Euro, mortise, rim, KIK/KIL, interchangeable core, or proprietary
- Overall length
- For Euro cylinders: length from the fixing-screw center to each end, recorded separately
- Body diameter or profile dimensions
- Thread size and pitch for threaded mortise cylinders
- Cam/tailpiece shape, length, and orientation
- Number of pins, if visible or known
- Cylinder function: single, double, key/thumbturn, half, emergency/priority
- Finish and escutcheon thickness
- Door thickness and cylinder projection
- Any brand stamping, keyway code, or patent marking
For a Euro cylinder, measure from the center of the fixing screw to each end—not merely total length. For a mortise cylinder, measure the threaded body and identify the cam or tailpiece . Total length alone is one of the most common sources of ordering mistakes with Euro cylinders.
Key Measurements
Record:
- Key blank manufacturer and part number, if stamped
- Keyway profile
- Key length and bow shape
- Blade thickness and width
- Number of cuts/positions
- Whether the key is standard, restricted, patented, high-security, or electronic
- Any “do not duplicate,” patent, or system marking
- Whether it is an operating key, control key, master key, or construction key
A matching keyway is necessary but not sufficient. The key must also have the correct bitting/cuts to set the cylinder’s pin stacks at the shear line .
Matching by Cylinder Type
Euro-Profile Cylinder
A Euro key will generally match only a Euro-profile cylinder with the same keyway and compatible pinning. Check:
- Euro profile shape
- Overall cylinder length
- External and internal split lengths
- Cam type and position
- Keyway
- Pin count
- Master-key or restricted-system restrictions
- Key/thumbturn, double, half, or emergency function
A key that physically enters the keyway may still fail to operate the cylinder if the cuts don’t match. Conversely, a key with the right cuts may not enter if the keyway profile differs . These two failure modes look identical from the outside but require entirely different fixes.
Mortise Cylinder
A mortise cylinder key must match both the cylinder’s keyway and its internal combination. The cylinder must also match the mortise lock’s threaded body, cam/tailpiece, and operating requirements. Check:
- Thread diameter and pitch
- Cylinder length
- Cam/tailpiece geometry
- Keyway
- Pin count and combination
- Lock function
- Whether the cylinder is conventional, interchangeable core, or proprietary
Do not order by keyway alone. A matching keyway does not establish that the cylinder will fit the lock case or operate its cam correctly .
Cylindrical or Bored Lock
For a cylindrical/bored lock, identify the manufacturer, keyway, pin count, and lock function. Many commercial systems use conventional cylinders; others use small-format interchangeable cores or proprietary restricted systems.
One commercial hardware catalog, for example, specifies cylinder number, keyway, and finish when ordering, and notes that its standard conventional cylinders use a specific designated keyway unless otherwise specified —a useful reminder that “standard” still means something specific, not generic.
Interchangeable Core
For an interchangeable-core system, match:
- Core format: small-format IC, large-format IC, or manufacturer-specific
- Keyway
- Operating-key system
- Control-key system
- Core length and tailpiece/cam interface
- Lock body compatibility
A control key removes or installs the core; an operating key operates the lock. Do not treat them as interchangeable —confusing these two key types is a frequent and completely avoidable error on multi-door facility projects.
Keyway Versus Key Cuts
This distinction is where most non-locksmith confusion originates, because both characteristics are described using the word “key.”
| Feature | What It Controls | Can It Be Checked Visually? |
|---|---|---|
| Keyway | Whether the key blank can enter the plug | Yes, by comparing profile |
| Pin count | Number of pin positions | Sometimes |
| Pin heights/bittings | Whether the key lifts pins to the shear line | No, without decoding or disassembly |
| Master-key hierarchy | Which keys operate which doors | Only through the key-system schedule |
| Restricted/patented status | Who may obtain duplicate blanks | Through manufacturer/dealer authorization |
| Control key | Whether an interchangeable core can be removed | Through the key-system policy |
A key blank with the same keyway may be usable only if it’s authorized and correctly cut. One manufacturer’s documentation notes that a high-security key can operate a non-matching cylinder only under specific keyway-family conditions—illustrating why system-level compatibility matters beyond the visible keyway alone .
Restricted and Master-Key Systems
For commercial work, identify the key-system structure before replacing anything:
- Keyed alike: One key operates multiple cylinders
- Master keyed: Individual keys operate individual doors; a master key operates multiple doors
- Grand master keyed: Additional hierarchy above the master level
- Construction keyed: Temporary construction keys are later invalidated
- Restricted keyway: Duplicate blanks are controlled by the manufacturer or authorized dealer
- Patented/high-security: Legal and technical controls may restrict duplication and unauthorized key production
- SFIC/LFIC: Interchangeable cores support rapid rekeying with a control key
Commercial hardware catalogs commonly state that restricted keyways should be consulted with the factory directly, and that key blanks are typically ordered in multiples under system-specific rules .
Do not obtain duplicate keys from an unauthorized source for a restricted or patented system. This can compromise key control and may violate the manufacturer’s key-control policy—and in some jurisdictions, patented key systems carry legal duplication restrictions.
How to Source Compatible Replacements
For a Single Door
- Photograph the cylinder, key, door edge, and lock face.
- Identify the manufacturer and model.
- Measure the cylinder format and dimensions.
- Identify the keyway and key blank.
- Determine whether the key is standard, restricted, master, control, or electronic.
- Contact the original manufacturer, an authorized dealer, or a qualified locksmith.
- Request a cylinder matched to the exact format, keyway, function, and pinning.
- Confirm the cam/tailpiece and installation dimensions.
- Test the key before final installation.
For a Commercial Project
Create a keying schedule before ordering anything. It should list:
- Building and door location
- Door function and hardware type
- Cylinder manufacturer and model
- Cylinder format and dimensions
- Keyway
- Key system level: change, master, grand master, control, emergency
- Key quantity and key-blank policy
- Restricted-key authorization requirements
- Cylinder finish
- Fire-door or exit-device compatibility
- Installation and commissioning requirements
- Recordkeeping and key-custody procedures
Commercial cylinder/keying documentation treats cylinder number, keyway, finish, key system, and key blanks as separate ordering variables that must each be confirmed independently .
Security and Operation Checks
Before accepting a replacement cylinder or key, test:
- Smooth key insertion and removal
- Full plug rotation without excessive force
- Correct latch or deadbolt operation
- Correct operation from both sides, where applicable
- Correct master-key and control-key behavior
- No binding, loose spindle, or misaligned cam
- Correct cylinder projection and escutcheon fit
- No unauthorized key duplication risk
- Correct fire-door, exit-device, or access-control compatibility
ANSI/BHMA A156.5 includes operational and strength requirements for cylinders and input devices, including key insertion/removal force and operational performance .
Common Mistakes
- Assuming a matching keyway means the key will operate the cylinder
- Confusing a Euro-profile cylinder with a threaded mortise cylinder
- Ordering a Euro cylinder by total length only
- Ignoring cam/tailpiece shape and lock-case compatibility
- Treating a control key as an operating key
- Ordering a restricted key blank without authorization
- Replacing a cylinder without checking the door’s fire, egress, or exit-device requirements
- Using an unapproved duplicate key in a restricted system
- Ignoring pin count, master-key hierarchy, or key-system documentation
- Failing to photograph and retain the original key/cylinder before ordering
- Assuming all manufacturers’ keyways with similar names are interchangeable
The Bottom Line
Match a key to a cylinder by confirming cylinder format + keyway + pinning/key-system authorization—all three, not just one. A Euro, mortise, rim, cylindrical, or interchangeable-core cylinder requires different physical interfaces, and a matching keyway alone does not guarantee operation .
For commercial work, source cylinders and keys through a documented keying schedule and authorized supplier, and retain control-key, restricted-key, and master-key records throughout the project. This disciplined approach is what separates a smooth hardware replacement from a building-wide key-management problem that surfaces months later.
source
1. EN 1303:2026 — Cylinders and Master-Key Systems
2. Schlage — Conventional Cylinders
Schlage technical product page
FAQ
No—this is the single most common misunderstanding in cylinder replacement. A keyway only determines whether the key blade can enter the plug; it says nothing about whether the key’s internal cuts match the cylinder’s pin heights . A key can insert smoothly and still fail to rotate the plug because the bitting doesn’t set the pins at the shear line. Always test full rotation and latch operation, not just insertion.
No. The cylinder’s cam or tailpiece must also match the specific lock mechanism it operates—a Euro-profile, mortise, or rim cylinder with the correct external dimensions can still fail if its cam shape, position, or tailpiece length doesn’t engage the lock case correctly . Physical fit in the door prep and mechanical engagement with the lock are two separate verification steps.
No, and confusing the two is a frequent and entirely avoidable error on multi-door facility projects. An operating key unlocks the door; a control key removes or installs the core itself . Treating these as interchangeable can lock out maintenance staff from servicing a core, or worse, allow an unauthorized party to pull cores they shouldn’t have access to. Always document which key performs which function in your keying schedule.






