An intestinal organoid model recapitulates human microfold (M) cell function and transcriptomic profiling and biochemical assays demonstrate that M cells uptake and present antigens to the immune system via the class II major histocompatibility complex.