do the trick

do the trick

To do, accomplish, or fulfil exactly what is needed or sought after. The recipe calls for pancetta, but I think this regular bacon should do the trick. The movie's plot, such as it is, won't go on to win any awards, but the gory special effects will do the trick for any fans of the horror genre. I turned it off and back on, and that did the trick.
See also: trick
Farlex Dictionary of Idioms.

do the trick

to do exactly what is needed. This new paint scraper really does the trick. Is this envelope large enough to do the trick?
See also: trick
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs.

do the trick

Also, turn the trick. Bring about a desired result, succeed. For example, One more turn with the wrench should do the trick, or Bill wanted to finish all the errands in one day but he couldn't quite turn the trick. The first expression dates from the early 1800s; the variant, from the first half of the 1900s; should not be confused with turn a trick.
See also: trick
The American Heritage® Dictionary of Idioms by Christine Ammer.

do the trick

INFORMAL
COMMON If something does the trick, it achieves what you want. If these self-help remedies don't do the trick, consult a qualified doctor. If you're not sure what your baby wants, then try a cuddle — it usually does the trick.
See also: trick
Collins COBUILD Idioms Dictionary, 3rd ed.

do the trick

achieve the required result. informal
1990 Niki Hill Death Grows On You I figured a box of candy would do the trick, would bring some colour back.
See also: trick
Farlex Partner Idioms Dictionary

do the ˈjob/ˈtrick

(informal) do what is needed or wanted: These pills should do the job. You’ll feel better in no time. I tried many different ways to stop smoking. Acupuncture finally did the trick.
See also: job, trick
Farlex Partner Idioms Dictionary

do the trick

tv. to do exactly what is needed. Does this little tool do the trick?
See also: trick
McGraw-Hill's Dictionary of American Slang and Colloquial Expressions

do the trick

Accomplish something, succeed. Dating from the early nineteenth century, this cliché uses “trick” in the sense of an accomplishment. For example, “Add some pepper to the sauce and that should do the trick.” The synonymous turn the trick, dating from the same period, is heard less often today. “A couple of college products turned the trick for the Whalers,” wrote a sports columnist (Springfield Daily News, April 22, 1976). To turn a trick, on the other hand, uses “trick” in the slangy sense of a prostitute’s customer and means to engage in a sexual act with such an individual. Also see that does it.
See also: trick
The Dictionary of Clichés by Christine Ammer
See also:
  • turn the trick
  • a committee is a group of men who keep minutes and waste hours
  • group
  • meet (one's)/the requirements
  • meet the requirements
  • requirement
  • carry through on (something)
  • come through (something) with flying colors
  • pass with flying colors
  • pass with flying colours