The bark is used to make medicine. Willow bark acts a lot like aspirin, so it is used for pain, including headache, muscle pain, menstrual cramps, rheumatoid arthritis (RA), osteoarthritis, gout, and a disease of the spine called ankylosing spondylitis.