By isolating from the environment and precisely controlling mesoscopic objects, levitation in vacuum has evolved into a versatile technique that has already benefited diverse scientific directions, from force sensing and thermodynamics to materials science and chemistry. It also holds great promise for advancing the study of quantum mechanics in the unexplored macroscopic regime. However, most current levitation platforms are complex and bulky. Recent efforts in miniaturization of vacuum levitation set-ups have comprised electrostatic and optical traps, but robustness is still a concern for integration into confined settings, such as cryostats or portable devices. Here we show levitation and motion control in high vacuum of a silica nanoparticle at the surface of a hybrid optical–electrostatic chip. By combining fibre-based optical trapping and sensitive position detection with cold damping through planar electrodes, we cool the particle motion to a few hundred phonons. We envisage that our fully integrated platform is the starting point for on-chip devices combining integrated photonics and nanophotonics with precisely engineered electric potentials, enhancing control over the particle motion towards complex state preparation and read-out.