The main metabolites produced are nicotine N-oxide and cotinine (major indicator of nicotine presence). Generally, it takes about 72 hours from the last use for other nicotine by-products to leave the system. Yet cotinine remains in the system for as long as four days. Cotinine can also remain for several months, depending on how much tobacco was smoked and the length of time the user has smoked.