Provided herein are compounds that activate IRE1/XBP1 s, and pharmaceutically acceptable derivatives thereof. Also provided are pharmaceutical compositions containing the compounds and methods of using the compounds for treating a subject having a disease or disorder that may be ameliorated by increasing IRE1/XBP1s activity.