Mobile adhoc network (MANET) is a collection of node under a communication with each other nodes in the network. They are mobile nodes which can change its location according to the requirement. So the location based routing is needed for transmission of packet. For the data packet security, the existing algorithm is enhanced as “A secure location aware routing protocol”. In this nodes are arranged by means of a clustering technique. This protocol will predict the future location of node using particle swarm optimization. The link lifetime, speed, distance and position of node is calculated earlier to find the optimized route. The trust value of node is computed from neighbor node which helps in prediction of future location and also to find malicious node in network to reduce packet loss. To prevent data from malicious node, the packets are encrypted using elliptic curve cryptography. Due to trust value, the routing information can be updated for easily and also improve the network throughput.