Klebsiella oxytoca strain SA2 is an endophytic nitrogen-fixing bacterium isolated from the pioneer grass Psammochloa villosa, which grows in the moving sand dunes of Ordos Plateau, China. The SA2 genome sequence provides the genetic background for understanding its endophytic lifestyle and survival in association with grass in nitrogen-poor environments.