The amount of time Ultram stays in the system depends on whether the tablets are slow release or what the actual dose is. Generally speaking, Ultram may be detected in the urine for up to four days but can be detected in hair follicles for as long as 90 days. A person’s metabolism, chemistry, hydration level, and body mass will also affect how long the drug stays in the body.