Gravity may provide a ubiquitous allocentric reference to the brain’s spatial orientation circuits. Here we describe neurons in the macaque anterior thalamus tuned to pitch and roll orientation relative to gravity, independent of visual landmarks. We show that individual cells exhibit two-dimensional tuning curves, with peak firing rates at a preferred vertical orientation. These results identify a thalamic pathway for gravity cues to influence perception, action and spatial cognition.