The bacterial type III secretion system, or injectisome, is a syringe shaped nanomachine essential for the virulence of many disease causing Gram-negative bacteria. At the core of the injectisome structure is the needle complex, a continuous channel formed by the highly oligomerized inner and outer membrane hollow rings and a polymerized helical needle filament which spans through and projects into the infected host cell. Here we present the near-atomic resolution structure of a needle complex from the prototypical SalmonellaTyphimurium SPI-1 type III secretion system, with local masking protocols allowing for model building and refinement of the major membrane spanning components of the needle complex base in addition to an isolated needle filament. This work provides significant insight into injectisome structure and assembly and importantly captures the molecular basis for substrate induced gating in the giant outer membrane secretin portal family.