Poka-yoke
A poka-yoke is a device that prevents an error from happening or makes it visible as soon as it happens. The error stops before it becomes a defect. John Grout renders the Japanese term as "avoiding inadvertent errors". English also says mistake-proofing or error-proofing. Shigeo Shingo formalised the method for the shop floor in Zero Quality Control (1986). The business analyst applies the same logic to a form or a screen: the field refuses a wrong format, the "Submit" button stays disabled while a document is missing.
Goal
The term names the device and the method that designs it. The method changes the process so that a human error can no longer become a defect. Shingo defines the device as "any mechanism that either prevents a mistake from being made or makes the mistake obvious at a glance". Grout widens the definition to the use of process or design features to prevent errors or their effects.
Shingo separates the error from the defect: "defects arise because errors are made; the two have a cause-and-effect relationship". The error is an action: a part placed upside down, two digits swapped in an account number. The defect is its result: the non-conforming part, the payment rejected by the bank. For Shingo, an error found and removed in time does not turn into a defect. Poka-yoke therefore acts on the error.
The method addresses an error that recurs despite training and instructions. Grout observes that the people who make these errors lack neither motivation nor care. They do not remove the errors by deciding to do better. The effect of training fades when the effort of memorising stops. Grout adopts Donald Norman's distinction: put the knowledge in the world rather than in the head. The design of the process then holds the correct action. The person no longer has to remember it.
The technique delivers a specified device: the failure mode it targets, the way the device detects the error, its response, its own failure and the test that verifies it. The technique helps decide which error to remove by design, then which response to set against it. The response ranges from blocking to signalling.
Usage
When to use it
- An error that recurs despite training: the cause lies in the process, not in the person's vigilance.
- A high-criticality failure mode in an FMEA: the action the team decides calls for a change to the design.
- D7 of 8D problem solving: prevent the escaped defect from recurring on this product and its neighbours.
- An entry governed by a clear rule (IBAN format, return date after departure, four-digit postcode): a forced control refuses the wrong value at entry.
- A step forgotten in a sequence (missing attachment, skipped approval, omitted end-of-shift check): a motion-step or fixed-value method blocks what follows until the step is done.
- Specifying a form or a screen: write the validations as requirements with their response and their test.
- A sample check that lets defects through: a cheap device checks every part or entry.
- A team that fears blame: the device targets the process. The error is no longer a personal fault to hide.
When not to use it
- The cause of the defect is still unknown: the device targets an identified failure mode; find the cause first with root cause analysis.
- A business rule nobody has written: no device checks a vague rule; make it explicit first with business rules analysis.
- An error of judgement: the right answer is known only after reflection; hand the check to a peer review.
Description
Inspect the cause rather than the effect
Shingo classifies inspections by the moment they act.
Judgment inspection sorts good parts from bad after production. It protects the customer. It leaves the cause in place. Shingo rejects it for that reason.
Informative inspection uses inspection data to correct the process. Shingo describes two forms. In a successive check, the next step checks the work of the previous one. In a self-check, the person checks their own work. The self-check wins because the feedback arrives sooner. Control charts also belong to informative inspection.
Source inspection checks before the operation that the conditions for correct work are in place. It looks for the error in the condition that would produce the defect. The person performs the task. The process inspects it through its design: nobody has a judgement to make. Grout puts Norman's forcing functions in the same family. A forcing function imposes the correct action.
Poka-yoke serves source inspection and both forms of informative inspection. Grout notes that a device inspects every part or entry where a human check covered only a sample.
Prevent, detect or limit the effect
Grout draws on Tsuda's typology. It starts with prevention in the work environment, which reduces complexity, ambiguity and uncertainty. A binder shows a single instruction instead of two on facing pages. A symmetrical part can no longer be fitted the wrong way round. A deleted step produces none of its errors. 5S and visual systems also count as prevention in the work environment. On a form, the analyst publishes a single version of the form, shows the instruction beside the field and removes the unneeded field instead of validating it.
Prevention inspects the process before the action that would cause harm. It corresponds to Shingo's source inspection. Detection spots the error just after the action and early enough to correct it before the harm. It corresponds to informative inspection. For Grout, prevention usually beats detection.
The last approach prevents the influence of the error. It lets the error happen and reduces its effect. The process makes correction easy: Grout cites the Undo and Redo functions of software. The process can also decouple the steps so that an error in one does not reach the other.
How the device detects the error
Shingo describes three detection methods. The contact method checks a physical feature: shape, size, presence. The fixed-value method checks that a number of items or repetitions is reached. The motion-step method checks that the steps follow the planned order. Grout adopts Chase and Stewart's classification of setting functions. It renames Shingo's three methods and adds a fourth: information enhancement. This method makes the needed information available at the right time and in the right place. The information then stands out from the information around it.
A single device can combine a contact and a fixed value.
| Method (Chase and Stewart) | What it checks | On a form (our transposition) |
|---|---|---|
| Physical (contact in Shingo) | The physical attributes of the product or process are correct. | The type and format of the field: digits only, fixed length, check digits. |
| Grouping or counting (fixed value in Shingo) | A set of resources is complete or the number of repetitions is reached. | "3 of 3 attachments": the request goes out when the count is complete. |
| Sequencing (motion step in Shingo) | The steps follow the planned order. | The wizard opens step 3 only once step 2 is validated. |
| Information enhancement | The needed information is available at the right time and in the right place. It stands out from the information around it. | The available balance appears beside the amount field. |
What the device does when it detects the error
Shingo distinguishes two regulatory functions. Control stops the process or blocks the wrong action. Warning signals the error and lets the process continue. The Lean Enterprise Institute calls the same pair "shutdown" and "warning". Control wins because it does not depend on the person's attention.
Grout breaks this pair down into four functions and ranks them in order of preference: forced control, shutdown, warning, sensory alert. The preferred devices are the strongest. They demand the least attention and leave the person the least latitude.
| Function | What it does (Grout) | On a form (our transposition) |
|---|---|---|
| Forced control | The shape of the object or an electronic control prevents the wrong action or the omission from going through. | The date picker offers no return date before the departure date. The postcode field accepts only four digits. |
| Shutdown | The process stops before the wrong action or just after its detection. | The "Submit" button stays disabled while a mandatory field is empty. |
| Warning | A visual or audible signal warns explicitly of the error. The process continues. | "This amount is 40% above this supplier's average." The user confirms or corrects. |
| Sensory alert | An audible, visual or tactile cue signals the error. The person must notice it. The process continues. | Amounts in EUR appear in a different colour from amounts in CHF. |
On a form or a screen
Shingo's book deals with the shop floor. The transfer to screens rests on Grout and the Nielsen Norman Group (NN/g). Grout notes that software checks entries in detail and stops the process without effort, whereas a handwritten document offers almost no way to stop it. He cites computerised physician order entry. Its drop-down menus offer the usual doses. Its drug-interaction check is a successive check.
Jakob Nielsen's fifth heuristic concerns error prevention. It holds that the best designs prevent problems from occurring in the first place. Nielsen adopts Norman's distinction between two kinds of error. A slip is an inattentive action when the intention is right. A mistake comes from a wrong mental model. Against slips, Nielsen recommends helpful constraints and good defaults. Against mistakes, he recommends removing memory burdens, supporting undo and warning the user.
Grout sets the same limit. Poka-yoke assumes that the correct action is known before the action. It therefore works better on slips than on mistakes. Page Laubheimer (NN/g) places constraints where a clear rule exists: a return date does not precede the departure date. He also recommends forgiving formats that accept an entry in several forms.
Designing the device: Grout's procedure
Where Shingo gives shop-floor examples, Grout describes an eight-step procedure for the hospital. A multidisciplinary team of six to ten people applies it. An FMEA or root cause analysis team is the best fit because it already knows the failure mode. The team designs a failure: the device causes a benign failure in place of the harmful event.
1. Choose the failure mode. The team chooses it from the risk priority number (RPN) or the criticality that the FMEA assigned to it.
2. Review the FMEA and look for solutions. The team looks for existing solutions in its own field and elsewhere. Grout finds that common sense and adapting an example are often enough. In that case the team moves straight to implementation.
3. Build the fault tree of the harmful event. The tree breaks the harmful event down into causes combined by AND and OR gates. It yields the minimal cut sets. A minimal cut set is a combination of causes that is enough to cause the event.
4. Choose a benign failure. The team chooses a failure that is preferable to the harmful event: the supplier record not saved rather than the payment rejected by the bank or credited to another account. Ideally, the benign failure is enough to stop the process.
5. Find the resources of the process. The fault tree of the benign failure shows at its base the events that the team can cause on purpose to trigger this failure.
6. Generate device designs. The team produces several designs by brainstorming. If that is not enough, Grout suggests TRIZ.
7. Look for other routes. A process with few resources sometimes allows no benign failure. The team then falls back on weaker cues: warning, sensory alert, information enhancement. It can also change the problem by modifying the wider system. Grout cites the move to computerised order entry instead of making the handwritten prescription more reliable. If nothing works after seven steps, giving up may be prudent. At worst, the process stays as it was.
8. Implement. The team chooses among the designs by expected effect, cost, training needed and expected resistance. It builds a prototype, tests it, writes a maintenance plan and documents the process.
On a software project, the business analyst writes the result as a requirement. The requirement names the rule checked, the detection method, the regulatory function, the message, the benign failure and the acceptance criterion. The message names the field at fault and the correction expected.
Poka-yoke in FMEA and 8D
Grout cites FMEA and root cause analysis among the methods that start the work. He adds that FMEA often leaves the redesign implicit. Poka-yoke gives shape to the action that the team decides in the FMEA. In 8D problem solving, discipline D7 prevents recurrence. There the team updates the procedures, the FMEA and the control plan. Poka-yoke is one of the actions that D7 puts in place. The andon signals an anomaly after the fact. Every cause it uncovers is a candidate for poka-yoke. In the Control phase of DMAIC, the control plan can also call for one.
Pitfalls
Grout notes that almost every solution creates a secondary problem.
The device fails. In January 2002, two patients died after receiving nitrous oxide instead of oxygen. The oxygen regulator had lost one of the indexing pins that prevented this connection. A failed device stays hidden until the day it should act. Grout asks the team to make the device itself reliable and to design it so that its own failure is benign. If the flow had opened only under pressure from the pins, a broken pin would have cut off the gas. On a screen, a validation rule that an update has disabled also goes unnoticed. An automated test of each device in the regression suite makes it visible.
A cumbersome device gets bypassed. Grout reports an unscientific survey of workers who own a table saw at home. Most remove the blade guard that gets in their way. On a form, a mandatory field with no relevant value receives "0000" or "n/a". The data then becomes wrong instead of missing.
Too many identical refusals. Grout cites software that checked entries so tightly that the user no longer understood what was wrong. Each refusal names its cause.
The displaced error. A device can move the error instead of removing it. In an aircraft engine, each blade slot takes a bolt of a different size. Only the right blade fits it. The shop that machines the hubs inherits the risk of error. The move is justified if the new location handles interruptions better, detects the error better or reduces its effects.
False alarms. A device that replaces a sample check inspects every unit. The proportion of false alarms does not change. Their number per day rises. The team may no longer be able to handle them.
Lost skills. According to Rasmussen, whom Grout cites, a person learns by trial and error where the boundary of safe work lies. A device that corrects everything hides this boundary and slows learning. Bainbridge, whom Grout also cites, adds that a person reduced to monitoring loses the practice they need on the day they must intervene.
AI considerations
A language model reads the support tickets and error logs of a form. It groups the rejected or corrected entries by field and by error type. The grouping shows the team the poka-yoke candidates and their frequency. The model also proposes a first-pass sort of the incidents into slips and mistakes from their description.
From a catalogue of business rules, the model drafts the validation rules and regular expressions. For each rule it generates boundary test cases: a correct value, a correct value in another form, a value wrong by one character. These cases feed the acceptance criteria and the regression suite.
The model does not decide the regulatory function. Blocking or warning means trading off the cost of a wrong entry against the cost of a correct entry refused. That trade-off belongs to the process owner. A generated regular expression sometimes refuses correct values: a hyphenated name, a foreign address. Each refusal pushes the user to get round the check. The device stays deterministic: a language model doing the check itself answers variably and guarantees no benign failure. Logs and tickets contain personal and banking data. They go to an external AI service only once anonymised or with the data owner's consent.
Examples
A Swiss company specifies the poka-yoke for the IBAN field in its supplier record. The FMEA of the "create a supplier" process ranks a wrong IBAN among the failure modes with the highest criticality.
| Element | Specification |
|---|---|
| Failure mode (FMEA) | Wrong supplier IBAN: payment rejected by the bank or credited to another account. |
| Targeted error | Entry slip: one wrong digit, two adjacent digits swapped, one digit left out. |
| Detection method | Contact: "CH" followed by 19 characters (21 in total). Check digits modulo 97 (ISO 13616 and ISO 7064). |
| Forgiving format | Spaces and lower case accepted and then normalised on saving. |
| Regulatory function | Forced control: the record does not save. Message: "Invalid IBAN: check the digits on the supplier's QR-bill." |
| Benign failure | Supplier record not saved: no payment goes out. |
| Limit | A valid IBAN of another account passes the check. This mistake or this fraud calls for a successive check: a second person approves every IBAN change. |
| Acceptance criteria | "CH93 0076 2011 6238 5295 7" is accepted and saved without spaces. The same IBAN with digits 3 and 8 swapped ("CH93 0076 2011 6283 5295 7") is refused. "ch9300762011623852957" is accepted. |
The check digits stop entry slips because the correct intention is known: the IBAN appears on the supplier's QR-bill.
Visualisations
The chain diagram places Shingo's inspections between the condition, the error, the defect and the customer, then transposes the chain onto a form. The diagram of Grout's procedure shows the shortcut from step 2 to implementation and the fallback of step 7. The diagram of the two fault trees shows the cause that the device moves from the harmful event to the benign failure. The regulatory functions, the detection methods and the IBAN field specification are tables.
Cost
| Phase | Level | Rationale |
|---|---|---|
| Preparation | Medium | Start from an FMEA or a root cause analysis. Bring together six to ten people. |
| Execution | Medium | Steps 3 to 8: fault tree, design session of six to ten people, prototype and test. The device itself costs little: the median cost of Shingo's 112 devices is about USD 100 at 1986 prices (Grout). Nine in ten cost USD 1'000 or less. Grout notes that implementation can cost more in a hospital than on the shop floor. |
| Documentation | Low | One specification per device, a maintenance plan, a test in the regression suite. |
Tooling
A spreadsheet holds the FMEA and the device specifications. A diagramming tool such as diagrams.net draws the fault tree. Fault tree software is justified when the team computes the probabilities of the minimal cut sets. On the shop floor, the device is a jig, a stop, a presence sensor or a counter.
On a web form, the HTML attributes required, pattern and type set the basic checks in the browser. The server repeats each check because a browser check can be bypassed. IBAN validation libraries compute the check digits. Interface design tools (Figma) mock up the error message before development. An automated test tool (Playwright, Selenium) replays the acceptance criteria of each device at each release.
Sources
- Shigeo Shingo, Zero Quality Control: Source Inspection and the Poka-yoke System, translated by Andrew P. Dillon, Productivity Press, 1986: the definition of poka-yoke, the relation between error and defect, judgment, informative and source inspection, the contact, fixed-value and motion-step methods, the control and warning functions, the 112 shop-floor examples.
- John R. Grout, Mistake-Proofing the Design of Health Care Processes, AHRQ Publication No. 07-0020, Agency for Healthcare Research and Quality, 2007: the wider definition, Tsuda's typology, Chase and Stewart's detection methods, the regulatory functions, the cost of Shingo's devices, the eight-step procedure, the software examples, the limits of poka-yoke.
- Lean Enterprise Institute, Poka-yoke, Lean Lexicon: shutdown and warning.
- Jakob Nielsen, 10 Usability Heuristics for User Interface Design, Nielsen Norman Group, 1994, revised 2024: the fifth heuristic, slips and mistakes.
- Page Laubheimer, Preventing User Errors: Avoiding Unconscious Slips, Nielsen Norman Group, 2015: constraints based on a clear rule, defaults, forgiving formats.

