Fire may cause people in the building to be scared, distracted. In that case, some evacuation systems may help people to leave the building safely. This paper proposes a technique to explore a wayfinding during fire. Wayfinding depends on building type. We also investigated the possible influence of smoke, light and distance on route determination for fire evacuation. When the fire occurs, the system provides evacuation route guidance to people for them to be able to avoid hazard. It is important to optimize the evacuation route for minimum effects of dangerous conditions. Fire evacuation system can recommend the shortest and safety route. Here, Particle Swarm Optimization is used to optimize the evacuation route. On the other advantage of Particle Swarm Optimization is that it is easy to implement and has very few parameters.