The Delay Tolerant Network (DTN) is exploited that is an effectual technology without definite incessant linkage in the network in order to provide effectual communication between the devices. In DTNs, numerous conventional routing techniques use the benefit of message replication in order to attain the maximum message delivery rate. However, they experience high communication overhead due to the shortage of effective models to control the message replication. Therefore, this work exploits a trust-based multipath routing protocol to exploit the diverse paths amid source and the destination to alleviate energy restraints. The main intention is to ascertain the optimal path from the whole paths that are present between the sender and destination node. In routing protocol, to enhance security, the metrics such as distance, trust factors are represented as the important modules. On the basis of the metrics, the multipath routing is performed using Particle Swarm Optimization (PSO) – Grey Wolf Optimization (GWO)approach. Subsequent to thereputation and trust-based Context Aware Routing (RCAR) protocol is used to choosethe optimal path with a high trust factor. Moreover, the trust is designed by taking into consideration of trust factors, such as direct, indirect, forwarding rate, history, and availability factors, as well asa utility function. The developed optimization algorithmoutperforms the conventional models with minimum delay, and maximum Packet Delivery Rate (PDR), maximum throughput correspondingly.