Understanding the functions of a brain region requires knowing the neural representations of its myriad inputs, local neurons and outputs. Primary visual cortex (V1) has long been thought to compute visual orientation from untuned thalamic inputs, but very few thalamic inputs have been measured in any mammal. We determined the response properties of ∼ 28,000 thalamic boutons and ∼ 4,000 cortical neurons in layers 1-5 of awake mouse V1. Using adaptive optics that allows accurate measurement of bouton activity deep in cortex, we found that around half of the boutons in the main thalamorecipient L4 carried orientation-tuned information and that their orientation and direction biases were also dominant in the L4 neuron population, suggesting that these neurons may inherit their selectivity from tuned thalamic inputs. Cortical neurons in all layers exhibited sharper tuning than thalamic boutons and a greater diversity of preferred orientations. Our results provide data-rich constraints for refining mechanistic models of cortical computation.