Mycobacterium tuberculosis (Mtb) uses the ESX-1 type VII secretion system to export virulence proteins across its lipid-rich cell wall, which helps permeabilize the host's macrophage phagosomal membrane, facilitating the escape and cell-to-cell spread of Mtb. ESX-1 membranolytic activity depends on a set of specialized secreted Esp proteins, the structure and specific roles of which are not currently understood. Here, we report the X-ray and electron microscopic structures of the ESX-1-secreted EspB. We demonstrate that EspB adopts a PE/PPE-like fold that mediates oligomerization with apparent heptameric symmetry, generating a barrel-shaped structure with a central pore that we propose contributes to the macrophage killing functions of EspB. Our structural data also reveal unexpected direct interactions between the EspB bipartite secretion signal sequence elements that form a unified aromatic surface. These findings provide insight into how specialized proteins encoded within the ESX-1 locus are targeted for secretion, and for the first time indicate an oligomerization-dependent role for Esp virulence factors.