Meanings
plural monkey patches · alternative monkeypatch · alternative monkey-patch
- slangcomputingA patch which alters the behaviour of a program by forcibly overriding aspects of the original code at runtime.
present singular third person monkey patches · participle present monkey patching · participle past monkey patched · past monkey patched · alternative monkeypatch · alternative monkey-patch
- slangtransitivecomputingTo alter the behaviour of a program by forcibly overriding aspects of the original code at runtime.
Even though that works with some browsers, others provide Anchor objects without click() methods. Add this magic code to your application.js, to Monkey Patch a JavaScript click() event:
2007, Philip C. Plumlee, Test Driven Ajax (on Rails)
Origin
Apparently from earlier guerrilla patch (“code that sneakily changes other code”), understood as gorilla patch. A monkey patch was then a more carefully written instance of such a patch. Or simply derived from monkey (“to mess with”, verb).
Full word history & related roots →Cite this entry
monkey patch. (n.d.). In WatkinsX Dictionary. Retrieved November 3, 2026, from https://dictionary.watkinsx.com/word/monkey%20patch
“monkey patch.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/monkey%20patch. Accessed November 3, 2026.
WatkinsX Dictionary, s.v. “monkey patch,” accessed November 3, 2026, https://dictionary.watkinsx.com/word/monkey%20patch.
Source: monkey patch on Wiktionary, CC BY-SA 4.0.