It depends on the drug and the metabolism of the person. Some drugs can stay in the system for days while others for weeks, and some may not show a blue line after 24 hours.