Anaspaz is a prescription medication used to treat muscle spasms and cramping. It is an antispasmodic drug that works by relaxing smooth muscles in the body. There are several other medications that work in a similar way and can be used interchangeably with Anaspaz. These include dicyclomine, hyoscyamine, and propantheline. All of these medications may be prescribed to treat conditions such as irritable bowel syndrome, gastrointestinal spasms, and bladder spasms. Depending on the individual's medical history and symptoms, their doctor may recommend one of these alternatives to Anaspaz to provide relief from muscle spasms and cramping.