This document proposes an algorithm to efficiently route emergency vehicles like ambulances and fire brigades through traffic signals. It assigns codes to vehicles and signals to identify their location and priority. The algorithm uses factors like accident severity, number of casualties, and vehicle proximity to determine priority order at traffic signals and route vehicles along the shortest paths. The goal is to minimize emergency response times. GPS is used to track vehicle locations in real-time and traffic signals are dynamically controlled to clear paths for higher priority vehicles. The proposed method aims to safely and efficiently direct multiple emergency vehicles from their locations to accidents or fires.