Ketopantoate hydroxymethyltransferase (KPHMT) catalyzes the first committed step in the biosynthesis of pantothenate, which is a precursor to coenzyme A and is required for penicillin biosynthesis. The crystal structure of KPHMT from Mycobacterium tuberculosis was determined by the single anomalous substitution (SAS) method at 2.8 A resolution. KPHMT adopts a structure that is a variation on the (beta/alpha) barrel fold, with a metal binding site proximal to the presumed catalytic site. The protein forms a decameric complex, with subunits in opposing pentameric rings held together by a swapping of their C-terminal alpha helices. The structure reveals KPHMT's membership in a small, recently discovered group of (beta/alpha) barrel enzymes that employ domain swapping to form a variety of oligomeric assemblies. The apparent conservation of certain detailed structural characteristics suggests that KPHMT is distantly related by divergent evolution to enzymes in unrelated pathways, including isocitrate lyase and phosphoenolpyruvate mutase.