Bactrim stays in your system for about 2 days after a dose is taken. This amount will vary from person to person and depends on many different factors, including:
How well a drug is distributed throughout your body
Age
Diet
Weight
Certain medical conditions, such as kidney disease
If other medicines are being taken at the same time