Zanaflex is a prescription medication that is used as a muscle relaxed. Zanaflex is a prescription that is used to relieve pain, muscle spasms, and to allow you to function more normally in your life. Zanaflex is used to treat diseases, after accidents, and those long nights after a broken bone or injury.