Abstract The magneto-optical trap (MOT) is an essential tool for collecting and preparing cold atoms with a wide range of applications. We demonstrate a planar-integrated MOT by combining an optical grating chip with a magnetic coil chip. The flat grating chip simplifies the conventional six-beam configuration down to a single laser beam; the flat coil chip replaces the conventional anti-Helmholtz coils of a cylindrical geometry. We trap 10^{4} cold ^{87}text{Rb} atoms in the planar-integrated MOT, at a point 3-9 mm above the chip surface. This novel configuration effectively reduces the volume, weight, and complexity of the MOT, bringing benefits to applications including gravimeter, clock and quantum memory devices.