Quick Answer to how long cocaine stays in your body: 48–72 hours.

Typically, cocaine stays in the system for 1 to 3 days depending on the potency of the drug and the amount ingested. However, traces of cocaine and the metabolite it creates (benzoylecgonine) can be detected through urine drug tests or hair follicle tests for up to 30 days after initial use. The true answer of how long cocaine stays in the system is also based on many external variables, such as the purity of the cocaine being ingested, the method of ingestion (smoking, snorting, etc.), the frequency of use, and whether or not any other drugs were used in conjunction. Due to the massive amounts of variables in determining how long the cocaine stays in the body, assume at least 72 hours for all traces of the drug to leave your system.
How long can cocaine be traced in your system? 2-3 days