The bark contains tannin, glycoside salicinBark is used to ease pain and reduce inflammation, and there is good evidence that it is effective as an analgesic and anti-inflammatory. Due to its astrigent action willow bark is used for diarrhea and gastro-intestinal inflammations.