Extending network lifetime is one of the ultimate goalsof topology control for wireless ad hoc networks. However, most ofexisting topology control algorithms mainly focus on transmissionenergy consumption while fail to consider the residual energy ofnetwork nodes, practically they can not balance energy consumption andprolong network lifetime efficiently. To tackle this problem, wepropose a localized distributed topology control algorithm ELTC(Energy-based localized topology control) for wireless ad hoc networks.Based on the integrated link metric reflecting both the energyexpenditure for sending and receiving and current residual energy oftransceivers, ELTC constructs a dynamical network topology that varieswith node energy. Moreover, without location information, each nodedetermines its transmission power according to the network informationcollected locally, which greatly reduces the implementation complexityand overhead of our algorithm. Theoretic analysis and experimentresults show that ELTC provides routing with an underlying topologywith connectivity and minimum-cost property. Compared with otheralgorithms, it can extend the lifetime of networks more remarkably.