Cortical circuits process both sensory and motor information in animals performing perceptual tasks. However, it is still unclear how sensory inputs are transformed into motor signals in the cortex to initiate goal-directed actions. In this study, we found that a visual-to-motor inhibitory circuit in the anterior cingulate cortex (ACC) triggers precise action in mice performing visual Go/No-go tasks. Three distinct features of ACC neurons-visual amplitudes of sensory neurons, suppression times of motor neurons and network activity from other neurons-predicted response times of the mice. Moreover, optogenetic activation of visual inputs in the ACC, which drives fast-spiking sensory neurons, prompted task-relevant actions in mice by suppressing ACC motor neurons and disinhibiting downstream striatal neurons. Notably, when mice terminated actions in response to stop signals, both motor neuron and network activity increased. Collectively, our data demonstrate that visual inputs to the frontal cortex trigger gated feedforward inhibition to initiate goal-directed actions. Kim et al. found that visual inputs trigger gated feedforward inhibition of ACC neurons, which disinhibits striatal motor neurons and initiates precise responses in mice performing a visual Go/No-go task.