The amount of time a drug can be detected in your system varies widely not only between drugs but between people. Some drugs leave the system within a few hours while others can be detected for weeks after entering your system, like THC from marijuana by a frequent user.