There are some older studies indicating that diltiazem is not very effective for esophageal spasm. If you are experiencing any spasms, talk to your doctor as soon as possible.