Abstract-Wirless sensor networks are becoming increasingly attactiv for military,wildlife monitoring and other applications. Usually the sensor nodes are deployed in a dangerous and untrusted area.Therefore,network security becomes very important.Key management is the core areas of the security. In this paper,we describe EPKM(Efficient and Practical Key Management Scheme),a key management protocol for the hierarchical wireless sensor networks. EPKM adopts the main idea of multiple keying mechanism which includes key establishment and updating procedures.It supports four types of keys for each node-an individual key shared with the gateway, a data encryption key shared with another node, a cluster key shared with the cluster head,and a global key that is initially preloaded by all the nodes. Compared to other key management schemes,our scheme used for establishing and updating these keys is efficient and practical as well as low storage and communication.