Patients with moderate-to-severe OSA showed lower network switching rates, especially in the DMN, auditory network, and ventral attention network. The disruption of dynamic functional networks may be a potentially crucial mechanism of neurocognitive dysfunction in moderate-to-severe OSA patients.