Hair follicles hold onto heroin for the most prolonged period. Most hair follicles can date heroin use back to three months. However, there have been cases where these follicles can date heroin use back to four, five, or even six months ago.