Cocaine lingers in your system for one to four days on average after you use it. There are several factors that can affect the length of time the chemical stays in your system. The amount of cocaine you use, how often you take it, the method you use, the purity level of the cocaine, your body fat, and whether or not you use any other narcotics at the same time are all factors to consider.