Psilocybin can stay in your system (and detectable in your urine) for up to 24 hours.[3]