Codeine can stay in a person's saliva for up to 36 hours. It may also be detectable for 2–4 days in their urine, 7–14 days in their sweat, and 90 days in their hair.