The temporal features of tactile stimuli are faithfully represented by the activity of neurons in the somatosensory cortex. However, the cellular mechanisms that enable cortical neurons to report accurate temporal information are not known. Here, we show that in the rodent barrel cortex, the temporal window for integration of thalamic inputs is under the control of thalamocortical feed-forward inhibition and can vary from 1 to 10 ms. A single thalamic fiber can trigger feed-forward inhibition and contacts both excitatory and inhibitory cortical neurons. The dynamics of feed-forward inhibition exceed those of each individual synapse in the circuit and are captured by a simple disynaptic model of the thalamocortical projection. The variations in the integration window produce changes in the temporal precision of cortical responses to whisker stimulation. Hence, feed-forward inhibitory circuits, classically known to sharpen spatial contrast of tactile inputs, also increase the temporal resolution in the somatosensory cortex.