The present disclosure relates to methods of treating gastrointestinal stromal tumors to a subject in need thereof, comprising administering to the subject a therapeutically effective amount of ripretinib or a pharmaceutically acceptable salt thereof.