Based on dynamic network topology, mobile Adhoc Networks (MANET) plays a vital role. Mobility is one of the major issues in MANET which affects the quality of routing and disconnects in the route frequently. It is necessary to avoid interruptions in routing and provide a continuous connectivity among nodes to improve the routing ability in this situation. It is important to predict the present location information of the nodes since route failure and interruptions are caused by node mobility. To compare and predict the pattern of mobile nodes using flies flash patterns, this paper utilizes a Nature-inspired algorithm as Fire Fly Algorithm. Among mobile nodes, this can able to allocate the available resources and increase the routing quality. The Firefly algorithm is simulated in network simulation software and the obtained results are verified. The performance of the proposed algorithm is evaluated by comparing the results with the other existing systems’ results.