Oral dosage forms of osteoclast inhibitors, such as nitrogen-containing bisphosphonates, such as zoledronic acid and neridronic acid in an acid or a salt form, or in a molecular complex can be used to treat or alleviate pain or related conditions, such as complex regional pain syndrome.