Abstract: The use of mobile agents in sensing networks, while bringing many useful benefits, brings additional security threats to sensor networks too. To deal with this strong authentication methods are required for the authentication of mobile agents in sensor nodes networks. In this Article, a scheme that can authenticate both sensor nodes and mobile agents efficiently without putting much pressure on resources is presented. Performance and security analysis has been done on the given scheme. With little overhead in terms of memory, computation and communications, the proposed scheme is able to authenticate mobile agent along with sensor nodes. The overhead would be much greater if a separate authentication scheme better flexibility against selective node capture attacks from the basic scheme. In term of mobile agents, the proposed scheme provides high resilience against masquerading and unauthorized access attacks.