In other words, cotinine is produced when the body metabolizes nicotine after ingestion. Cotinine is used as a biomarker for exposure to tobacco. Cotinine has an in vivo half-life of approximately 20 hours and is typically detectable for 1-2 days after the use of tobacco.