Provided herein are small molecule inhibitors for the targeting or IRE1 protein family members. Binding may be direct or indirect. Further provided herein are methods of using IRE1 small molecule inhibitors for use in treating or ameliorating cancer in a subject. Moreover, IRE1 small molecule inhibitors described herein are for the treatment of cancer, where the cancer is a solid or hematologic cancer.