A back spasm can last from a few days to a few weeks. However, if related to an underlying condition like arthritis or a disc problem, the spasms may come and go over time.