The simple mechanical oscillator, canonically consisting of a coupled mass-spring system, is used in a wide variety of sensitive measurements, including the detection of weak forces and small masses. On the one hand, a classical oscillator has a well-defined amplitude of motion; a quantum oscillator, on the other hand, has a lowest-energy state, or ground state, with a finite-amplitude uncertainty corresponding to zero-point motion. On the macroscopic scale of our everyday experience, owing to interactions with its highly fluctuating thermal environment a mechanical oscillator is filled with many energy quanta and its quantum nature is all but hidden. Recently, in experiments performed at temperatures of a few hundredths of a kelvin, engineered nanomechanical resonators coupled to electrical circuits have been measured to be oscillating in their quantum ground state. These experiments, in addition to providing a glimpse into the underlying quantum behaviour of mesoscopic systems consisting of billions of atoms, represent the initial steps towards the use of mechanical devices as tools for quantum metrology or as a means of coupling hybrid quantum systems. Here we report the development of a coupled, nanoscale optical and mechanical resonator formed in a silicon microchip, in which radiation pressure from a laser is used to cool the mechanical motion down to its quantum ground state (reaching an average phonon occupancy number of 0.85 ± 0.08). This cooling is realized at an environmental temperature of 20 K, roughly one thousand times larger than in previous experiments and paves the way for optical control of mesoscale mechanical oscillators in the quantum regime.