Generally, nicotine can be detected in urine for up to 3-4 days after the last use. However, in heavy smokers, it can be detected for up to a week or more.