“Trial and error” or “trail and error”?

Write “trial and error” for learning by trying things and finding out where they fail or succeed. You may fix a lock by testing several small changes. A “trial” is a test or an attempt. A “trail” is a path or track, like one you could follow in the woods.

What Harper flagged

Measured with Harper 3.3.0 on , on this page’s own sentences.

Rule TrialAndError

Harper results for the rule shown above
SentenceWords flaggedHarper’s messageFirst suggestion
We fixed the old lock through trail and error.trail and errorYou misspelled trial.Replace with: “trial and error”
I learned to bake that loaf by trail and error.trail and errorYou misspelled trial.Replace with: “trial and error”
The class found the right mix after a little trail and error.trail and errorYou misspelled trial.Replace with: “trial and error”
We fixed the old lock through trial and error.No flag from this rule
I learned to bake that loaf by trial and error.No flag from this rule
The class found the right mix after a little trial and error.No flag from this rule
We took the wrong trail because of an error on the sign.No flag from this rule

Why it happens

A trial gives you something to learn from, even when it goes wrong. A pupil trying a new mix can check what changed and use that clue in the next try. The phrase does not require every attempt to fail. It describes the way people use the results of one try to plan another.

You could make an error on a trail by taking a turn that was marked poorly. The trail is still the place where you walk. If you try several turns until you find the way, you learned by trial and error. Both words can tell part of the same story, but they have different jobs.

Check it by hand

Look for the act of testing a choice. If the writer learned by making attempts and checking the results, use “trial” before “and error.” If you can point to the route someone walked, use “trail.”

Questions people ask

Can I write “through trial and error”?

Yes. “Through” and “by” can both introduce the way someone learned or solved a problem.

Does “trial” need a courtroom?

No. A trial can be a test of a plan or a tool. That is the meaning at work in this phrase.

Harper’s own description

Harper’s words under Apache-2.0
Corrects trail to trial in trial and error.

More rules

Try it

Try a sentence in the free checker. Your text stays on the page.

Browse all grammar rules

Grammarnest is being built to check your writing in every app on your computer. Your writing will stay on your computer and will never be sent.

Sources