This study investigated the changes in lipid and starch contents, lipid fraction, and lipid profile in the nitrogen-starved Scenedesmus obtusus XJ-15 at different temperatures (17, 25, and 33°C). The optimal temperature for both growth and lipid accumulation under nitrogen-sufficient condition was found to be 25°C. However, under nitrogen deprivation, the total and neutral lipids increased with increasing temperature, and achieved the highest lipid content of 47.60 % of dry cell weight and the highest TAG content of 79.66 % of total lipid at 33°C. In the meantime, the stored cellular starch content decreased with the increasing temperature. Thus, high temperature induced carbon flux from starch toward TAG accumulation in microalgae during nitrogen starvation. In addition, the decreased polar lipids may also serve for TAG synthesis under high temperature, and high temperature further reduced the degree of the fatty acid unsaturation and favored a better biodiesel production. These results suggested that high-temperature stress can be a good strategy for enhancing biofuel production in oleaginous microalgae during nitrogen deficiency.