Data aggregation has been put forward as an essential paradigm for energy efficient routing in energy constraint wireless sensor network. Ant colony is a population-based algorithm. It applies ant’s natural and intrinsic character to explore the undeveloped space and to maintain developed path. In this paper, we propose an ant colony algorithm for data aggregation in wireless sensor networks. Every ant will explore some paths from source node to sink node. The data aggregation will occur by the remaining pheromone. The simulations have shown that out algorithm will deduce significant energy cost.