debugvsdrugConfusable pair

Quick tell: debug is a verb, drug is a noun, so they fill different roles in a sentence.

Which to use

“debug” is a verb and “drug” is a noun - they look or sound alike but fill different roles in a sentence.

#34,458
“debug” frequency rank
#1,422
“drug” frequency rank
35880
confusion score

Side-by-Side Comparison

Feature debug drug
Definition To search for and eliminate malfunctioning elements or errors in something, especially a computer program or machinery. A substance used to treat an illness, relieve a symptom, or modify a chemical process in the body for a specific purpose.

Where the eye mixes debug and drug

Muted = shared; highlighted = the visual trap. They share 3 letters in sequence.

5 ch
debug
4 ch
drug

Visual trap between debug and drug

These two trip readers on the page rather than in the ear: debug is /diːˈbʌɡ/ while drug is /dɹʌɡ/. Spoken aloud the problem disappears. In writing it persists, because they differ by 1 letter(s) in length, and the parts of speech differ too (verb vs noun), which is usually the fastest check. Our composite confusion score for this pair is 35880, derived from the frequency rank of both members and their visual similarity.

debug is recorded at frequency rank #34,458, classified as averb, pronounced /diːˈbʌɡ/. drug is at rank #1,422, tagged as anoun, pronounced /dɹʌɡ/.

Glosses for this pair are partially populated in our dataset, but the full side-by-side definitions above should still guide you to the right choice.

With a confusion score of 35880, this pair ranks #308,128 of 530,003 scored English confusable pairs - roughly mid-pack for confusability.

Orthographic DNA of debug vs drug

Shared letters: dgu. Private to "debug": be. Private to "drug": r.

"debug" · 5 letters · shape CVCVC  ·  "drug" · 4 letters · shape CCVC

Known mistypes of this pair

  • debugdbeug · ddebug · debbug · debgu · debugg · deubg · edbug
  • drugddrug · drgu · drrug · drugg · durg · rdug

Frequently Asked Questions

Do "debug" and "drug" mean the same thing in a sentence?
No - they are not even the same part of speech. "debug" is a verb and "drug" a noun, so a sentence built for one is usually ungrammatical with the other.
Frequency check: "debug" vs "drug" - which ranks higher?
"drug" is the more common of the two: it sits at frequency rank #1,422 in our English list, against #34,458 for "debug". That is a wide gap, so in ordinary text the rarer spelling is the one worth double-checking.

Useful next steps

Eye-level mix-up between "debug" and "drug" is sorted above. Next: full entries or other pairs that share a letter shape.

  • Full dictionary entry for "debug" with definition, IPA, and generated misspellings. Word entry
  • Full dictionary entry for "drug" - compare definitions side by side with the headword page. Word entry
  • This pair ranks #308,128 of 530,003 scored English confusable pairs in this corpus vintage. Corpus statistics
  • "debug" and "drug" also get mixed up with nearby pairs, the highest-scored neighbour is "Debby vs debug". Nearby pair
  • Recorded mistypes exist for at least one side of this pair, useful when a spell-checker or OCR lands on the wrong form. See mistypes

Confusion rank #308,128 of 530,003 scored English pairs, corpus vintage 2026-09-03, not spelling advice.

Source: Wiktionary (via kaikki.org) Structured Wiktionary extract

Source: FrequencyWords open word-frequency list