text: what is the medication smz/tmp and what is it for.?   it stands for sulfadiazine and trimethoprim (common brand names include bactrim and septra). it is a medication used to treat infection, primarilary urinary tract infections.