I'm not sure how long it stays in your system but b/c I've never done it & never looked it up. But when I have to take a drug test (all I do is smoke) I almost always take a urine test & ALWAYS use synthetic urine.. I had a hair test once & it worked perfectly... THEY ALSO HAVE MOUTHWASH OR TABLETS AVAILABLE TO PASS A SALIVA TEST. (link below to one of many websites)
www.detoxforless.com/saliva-testing.aspx
www.detoxforless.com/saliva-testing.aspx