AimsThe brain function impairment induced by sleep deprivation (SD) is temporary and can be fully reversed with sufficient sleep. However, in many cases, long‐duration recovery sleep is not feasible. Thus, this study aimed to investigate whether a short nap after SD is sufficient to restore brain function.MethodsThe data of 38 subjects, including resting state functional magnetic resonance imaging data collected at three timepoints (before SD, after 30 h of SD, and after a short nap following SD) and psychomotor vigilance task (PVT) data, were collected. Dynamic functional connectivity (DFC) analysis was used to evaluate changes in brain states among three timepoints, and four DFC states were distinguished across the three timepoints.ResultsBefore SD, state 2 (a resting‐like FC matrix) was dominant (48.26%). However, after 30 h SD, the proportion of state 2 dramatically decreased, and state 3 (still resting‐like, but FCs were weakened) became dominant (40.92%). The increased proportion of state 3 positively correlated with a larger PVT “lapse” time. After a nap, the proportions of states 2 and 3 significantly increased and decreased, respectively, and the change in proportion of state 2 negatively correlated with the change in PVT “lapse” time.ConclusionsTaken together, the results indicated that, after a nap, the cognitive function impairment caused by SD may be reversed to some extent. Additionally, DFC differed among timepoints, which was also associated with the extent of cognitive function impairment after SD (state 3) and the extent of recovery therefrom after a nap (state 2).