Abstract Psilocybin profoundly alters visual perception, yet the neuronal mechanisms underlying these effects remain unclear. Here we combined large-scale Neuropixels recordings with cell-type-specific optogenetics in head-fixed mice performing a visual change-detection task. Psilocybin severely impaired task performance without overt motor deficits. In cortex, the drug modestly suppressed...