The optical response of bilayer moiré photonic structures can be precisely controlled by varying the lattice geometry. Bilayer moiré photonic crystal slabs exhibit flat bands in the optical band structure, where the optical modes have zero group velocity. They also give rise to momentum-independent light-trapping of Bloch waves in both transverse and vertical directions, leading to high quality-factors ([Formula: see text]) and small mode volumes ([Formula: see text]). The large Q and small V lead to a large Purcell enhancement ([Formula: see text]), providing opportunities for low-threshold lasing, enhancement of optical nonlinearities, and quantum information processing.