Type IX secretion system (T9SS), exclusively present in the Bacteroidetes phylum, has been studied mainly in Flavobacterium johnsoniae and Porphyromonas gingivalis. Among the 18 genes, essential for T9SS function, a group of four, porK-N (P. gingivalis) or gldK-N (F. johnsoniae) belongs to a co-transcribed operon that expresses the T9SS core membrane complex. The central component of this complex, PorM (or GldM), is anchored in the inner membrane by a trans-membrane helix and interacts through the outer membrane PorK-N complex. There is a complete lack of available atomic structures for any component of T9SS, including the PorKLMN complex. Here we report the crystal structure of the GldM and PorM periplasmic domains. Dimeric GldM and PorM, each contain four domains of ~180-Å length that span most of the periplasmic space. These and previously reported results allow us to propose a model of the T9SS core membrane complex as well as its functional behavior.