The reduction of trial-to-trial variability (TTV) in task-evoked functional near-infrared spectroscopy signals by considering the correlated low-frequency spontaneous fluctuations that account for the resting-state functional connectivity in the brain is investigated. A resting-state session followed by a task-state session of a right hand finger-tapping task has been performed on five subjects. Significant ipsilateral and bilateral resting-state functional connectivity has been detected at the subjects’ motor cortex using the seed correlation method. The correlation coefficients obtained during the resting-state are used to reduce the TTV in the signals measured during the task sessions. The results suggest that correlated spontaneous low-frequency fluctuations contribute significantly to the TTV in the task evoked fNIRS signals.