Fentanyl can be detected in blood for up to 24 hours, urine for 24-72 hours (longer with chronic use or norfentanyl), and hair for up to 3 months. Detection times vary based on metabolism and test sensitivity.