For problem of big consumption of node energy existed in traditional ZigBee network tree routing algorithm, an improved ZigBee network tree routing algorithm based on energy awareness and energy balance was proposed. The algorithm considers neighbour node, searches network path of the minimum routing in a larger search range for reducing power consumption when determining next hop node of routing. Meanwhile, it selects path of lower cumulative path loss and path energy consumption to send data according to residual energy of node on the path, so as to reduce total power consumption of the network. The simulation result shows that the algorithm can avoid low energy node for data transmission, realizes energy balance of node and extends living time of node.