{"id":671,"date":"2026-04-01T23:45:57","date_gmt":"2026-04-01T23:45:57","guid":{"rendered":"https:\/\/hitchhikersguidetodesign.com\/book\/?p=671"},"modified":"2026-09-08T17:41:23","modified_gmt":"2026-09-09T00:41:23","slug":"murphys-law","status":"publish","type":"post","link":"https:\/\/hitchhikersguidetodesign.com\/book\/murphys-law\/","title":{"rendered":"42 \u2022 Murphy&#8217;s Law"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Murphy\u2019s Law<\/strong> is the cheerful little reminder that &#8220;anything that can go wrong, will go wrong&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In UX and product design, <strong>Murphy&#8217;s Law<\/strong> captures the grim inevitability that if there&#8217;s a way for something to fail &#8211; no matter how unlikely &#8211; it eventually will.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A feature will break at the worst possible moment. A user will try the one interaction no one tested. A stakeholder&#8217;s favorite edge case turns out to be a real-world requirement. Murphy&#8217;s Law isn&#8217;t pessimism &#8211; it&#8217;s about preparation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>ORIGIN<\/strong><\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">While the concept itself had been known for a long time, the phrase &#8220;Murphy&#8217;s Law&#8221; is attributed to Capt. Edward A. Murphy Jr., an engineer working on U.S. Air Force projects in the late 1940s. During testing, sensors were reportedly wired incorrectly, prompting Murphy to make a remark along the lines of: <em>if there is any way to do something wrong, someone will do it.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From there, the saying evolved into a broader principle: <em>Anything that can go wrong, will go wrong<\/em> &#8211; often at the worst possible time. Over decades, Murphy&#8217;s Law spread from engineering into business, risk analysis, and eventually UX\/product design.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In design, Murphy&#8217;s Law reminds us that no matter how confident we are in a workflow, users will test its limits &#8211; and technology will surprise us.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>WHEN<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can feel Murphy&#8217;s Law in the following situations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The edge case becomes the real case<\/strong><br>Nobody thought anyone would enter that combination of values. Someone did.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Two perfectly good features meet each other<\/strong><br>They work beautifully apart. Together, they have irreconcilable differences.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The demo fails during the demo<\/strong><br>It worked fourteen consecutive times beforehand. Murphy appreciates an audience.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>A tiny change breaks something completely unrelated<\/strong><br>The button moved three pixels. Authentication has stopped working in Belgium.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Reality refuses to follow the happy path<\/strong><br>Sessions expire. Permissions change. Users double-click unexpected things.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The \u201cimpossible\u201d scenario happens in production<\/strong><br>Apparently <em>unlikely<\/em> and <em>impossible<\/em> are different words for a reason.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>You hear: \u201cWe tested everything.\u201d<\/strong><br>Murphy has entered the chat.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>WHY<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Murphy\u2019s Law isn\u2019t mystical &#8211; it\u2019s a natural consequence of complexity and uncertainty. The more complex the system becomes, the larger the space between what we&#8217;ve tested and what can actually happen. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Assumptions are imperfect<\/strong><br>We design around what we expect users to do. Users remain stubbornly unaware of the plan.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dependencies fail<\/strong><br>Products rely on APIs, networks, browsers, operating systems, devices, permissions, and other products that have their own Murphy&#8217;s Laws.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Combinations multiply<\/strong><br>A feature might work across five browsers, six locales, four account types, three permission levels, and ten data states. Test all combinations and we&#8217;ll see you next year.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Timing matters<\/strong><br>Latency, asynchronous updates, caches, retries, and simultaneous actions can create states that never appeared during the beautifully controlled prototype.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Users are inventive<\/strong><br>People paste strange values, open multiple tabs, press Back at inconvenient moments, and lose connectivity halfway through actions.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>HOW<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Murphy&#8217;s Law doesn&#8217;t mean designing for every imaginable catastrophe. It means designing products that remain resilient when reality deviates from the plan.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Question the <a href=\"http:\/\/hitchhikersguidetodesign.com\/book\/happy-path\">happy path<\/a><\/strong><br>Ask what happens when information is missing, duplicated, delayed, incorrect, unusually large, or arrives in the wrong order.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Design defensively<\/strong><br>Use sensible defaults, validation, constraints, guardrails, and clear system states to prevent avoidable failures.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Make failure recoverable<\/strong><br>Provide undo, retry, autosave, version history, useful error messages, and ways back from mistakes.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Test beyond the obvious<\/strong><br>Include unusual devices, locales, accessibility settings, permissions, data volumes, network conditions, and combinations of features.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Watch real users<\/strong><br>People will interact with your product in ways no test plan predicted. <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Monitor what testing misses<\/strong><br>Logs, analytics, support reports, crash monitoring, and user feedback reveal the scenarios that escaped before launch.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PRO TIP<\/strong><\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">The goal isn&#8217;t to predict everything that can go wrong. It&#8217;s to make sure the product knows what to do when something does. Plan for resilience and design so that users can survive failure.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>EXAMPLES<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Places where you can observe Murphy&#8217;s Law in action include the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A form works perfectly until a customer enters an unusually long name or unexpected character. <\/li>\n\n\n\n<li>Two filters work independently but produce an error when used together. <\/li>\n\n\n\n<li>A checkout submits the same order twice because the network is slow and the user presses Pay again. <\/li>\n\n\n\n<li>A dashboard performs beautifully until a customer&#8217;s dataset becomes ten times larger than the test data. <\/li>\n\n\n\n<li>An upload fails halfway through when the network connection disappears, taking all the user&#8217;s progress with it. <\/li>\n\n\n\n<li>A feature works everywhere except one combination of browser, locale, accessibility setting, and account permissions. <\/li>\n\n\n\n<li>A release fixes one workflow while causing a regression somewhere apparently unrelated. <\/li>\n\n\n\n<li>The flawless live demo encounters the one error nobody has seen before, approximately six seconds after the presentation begins.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>CONCLUSION<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Murphy&#8217;s Law isn&#8217;t a curse &#8211; <strong>it&#8217;s a reality-check that leads to more resilient design<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can&#8217;t anticipate every user action, device state, network failure, strange dataset, third-party outage, feature interaction, or perfectly timed production bug. Trying to eliminate every possible failure would prevent us from shipping anything at all.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But, good products anticipate mistakes, detect problems, communicate what happened, preserve users&#8217; work, and provide a way forward. They assume that eventually something unexpected will happen &#8211; and prepare accordingly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And just in case you didn&#8217;t know, Murphy&#8217;s Law applies to Murphy&#8217;s Law, meaning that even the law&#8217;s own explanations, citations, or attempts to prove it will somehow get messed up or misquoted. Have a good night.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Murphy\u2019s Law is the cheerful little reminder that &#8220;anything that can go wrong, will go wrong&#8221;.<\/p>\n<p>In UX and product design, Murphy&#8217;s Law captures the grim inevitability that if there&#8217;s a way for something to fail &#8211; no matter how unlikely &#8211; it eventually will.<\/p>\n<p>A feature will break at the worst possible moment. A user will try the one interaction no one tested. A stakeholder&#8217;s favorite edge case turns out to be a real-world requirement. Murphy&#8217;s Law isn&#8217;t pessimism &#8211; it&#8217;s about preparation.<\/p>\n","protected":false},"author":1,"featured_media":938,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[24],"tags":[120,119,118,117,62],"class_list":["post-671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-the-testing-twilight-zone","tag-errors","tag-law","tag-murphy","tag-murphys-law","tag-testing","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-big","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-content\/uploads\/2026\/09\/42.jpg","_links":{"self":[{"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/posts\/671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":3,"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/posts\/671\/revisions\/979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/media\/938"}],"wp:attachment":[{"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hitchhikersguidetodesign.com\/book\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}