With new technologies, temperature has becomean important issue to be considered at system level design. Inthis paper, we address the issue of leakage energy optimizationthrough temperature aware idle time distribution (ITD). Wepropose an on-line ITD technique for leakage energy consumptionminimization, where both static and dynamic idle timeare considered. Experimental results have demonstrated that animportant amount of leakage energy reduction can be achievedby applying our ITD techniques.