{
  "id": "murphys-law",
  "title": "Murphy's law",
  "lang": "en",
  "source_lang": "en",
  "summary": "Murphy's law is the adage that “anything that can go wrong will go wrong,” used humorously and as a reminder to anticipate failure.",
  "category": "society",
  "subcategory": "psychology",
  "type": "concept",
  "aliases": [
    "Murphy’s Law"
  ],
  "generated_at": "2026-11-02",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/murphys-law/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/murphys-law/",
      "json": "https://aiwiki.page/zh/murphys-law.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "Murphy's law is an aphorism commonly expressed as “Anything that can go wrong will go wrong.” It describes the apparent tendency of mistakes, equipment failures, and inconvenient coincidences to occur, especially when their consequences are troublesome. Despite its name, it is neither a scientific law nor a rule of probability. It functions both as humor about everyday misfortune and as a practical reminder that foreseeable failures should be considered when designing systems or planning activities."
    },
    {
      "heading": "Origins and attribution",
      "text": "The expression is generally associated with Edward A. Murphy Jr., an American engineer involved in rocket-sled experiments at Muroc Air Force Base, later renamed Edwards Air Force Base, in California in 1949. The experiments, associated with physician and researcher John Paul Stapp, investigated the effects of rapid deceleration on the human body.\n\nIn widely repeated accounts, the immediate occasion was a problem with the installation or wiring of instruments used to collect measurements. Murphy reportedly remarked that if a task could be performed incorrectly, someone would perform it that way. The observation became associated with the experimental team's emphasis on anticipating errors.\n\nAccounts differ about Murphy's exact words, the details of the incident, and who first transformed the remark into the familiar general formula. The historical attribution should therefore be distinguished from the stronger claim that Murphy personally coined the precise sentence “Anything that can go wrong will go wrong.”\n\nExpressions conveying similar pessimism existed before the rocket-sled episode. Murphy's law became a recognizable named saying during the second half of the twentieth century, spreading from technical settings into management, publishing, and popular culture."
    },
    {
      "heading": "Meaning and interpretations",
      "text": "Murphy's law has several overlapping uses.\n\nEveryday pessimism. In ordinary conversation, it is often a joking explanation for bad timing: a printer fails just before a deadline, or a misplaced object turns up immediately after its replacement is purchased. This usage personifies circumstances as though they were deliberately obstructive.\n\nAttention to possible failure. In technical contexts, the saying can mean that an available route to error should not be dismissed merely because designers or operators expect people to avoid it. An ambiguous connector, for example, creates a foreseeable opportunity for incorrect assembly.\n\nAccumulation of opportunities. A low-probability problem may become likely when an activity is repeated many times or when a system contains many potential points of failure. This interpretation has a legitimate probabilistic basis, although it does not establish the literal claim that every possible failure must occur.\n\nThese meanings are not equivalent. A joke about universal bad luck is stronger than an engineering instruction to investigate credible failure modes."
    },
    {
      "heading": "Probability and the appearance of inevitability",
      "text": "Suppose a particular failure has probability \\(p\\) on each of \\(n\\) independent trials. The probability that it occurs at least once is\n\n\\[P(\\text{at least one failure})=1-(1-p)^n.\\]\n\nIf \\(p=0.01\\), the probability of at least one failure in 100 independent trials is about \\(63.4\\%\\). Thus, an event that is unlikely on any single occasion can be unsurprising across many occasions.\n\nThis calculation depends on specific assumptions. The trials must be independent and have the same failure probability. Real systems may involve changing conditions, maintenance, learning, or shared causes that make failures dependent.\n\nFor a fixed positive \\(p\\), the probability of at least one occurrence approaches 1 as the number of independent trials increases without bound. This limiting result does not make failure certain within any specified finite period. Nor does it imply that all imaginable mishaps are physically possible or have positive probability.\n\nMurphy's law itself specifies neither probabilities nor a time horizon. It therefore cannot replace a quantitative model of reliability."
    },
    {
      "heading": "Psychological explanations",
      "text": "Several features of human judgment can make events seem to confirm Murphy's law.\n\nConfirmation bias can lead people to notice mishaps that support the saying while overlooking uneventful successes. Someone who believes that the other checkout queue always moves faster may remember occasions when switching queues proved disadvantageous more readily than occasions when it helped.\n\nThe availability heuristic can also contribute: vivid or easily recalled failures may seem more frequent than they are. A breakdown during an important presentation is more memorable than many routine occasions when the same equipment worked correctly.\n\nThese mechanisms are examples of cognitive bias, not evidence that every report of recurring failure is mistaken. Apparent patterns may also reflect genuine causes, including overloaded equipment, poor maintenance, ambiguous instructions, or unrealistic schedules. Distinguishing these possibilities requires observation and comparison rather than reliance on the saying alone."
    },
    {
      "heading": "Engineering and organizational uses",
      "text": "In reliability engineering, Murphy's law serves as an informal prompt to investigate how a system might fail. It is not itself a design method or technical standard.\n\nFormal methods such as failure mode and effects analysis examine possible failures and their consequences. Design responses may include preventing incorrect assembly, detecting faults, providing backup capacity, or limiting the consequences of a malfunction.\n\nThis interpretation shifts attention from blaming an operator to examining the conditions that make error possible. A connector that can be inserted only in the correct orientation addresses a failure opportunity more directly than an instruction to “be careful.”\n\nThe saying nevertheless has limits as a planning principle. Not every conceivable failure warrants equal attention. Engineering decisions distinguish credible hazards from remote speculation and consider likelihood, severity, feasibility, and interactions between protective measures."
    },
    {
      "heading": "Related sayings and distinctions",
      "text": "Sod's law, common in British usage, similarly describes things going wrong, often with an emphasis on bad luck or inconvenient timing. It overlaps with Murphy's law but does not consistently carry the same association with anticipating design errors.\n\nHofstadter's law concerns underestimating the time required to complete a task, even when that tendency is taken into account. It addresses scheduling rather than failure in general.\n\nMany humorous “corollaries” to Murphy's law describe escalating complications, misplaced objects, or failures at the worst possible moment. These extensions form a loose body of comic sayings rather than a standardized logical system."
    }
  ],
  "links": [
    "probability",
    "humor",
    "popular-culture",
    "confirmation-bias",
    "cognitive-bias",
    "hofstadters-law"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}