The use of electric vehicles has raised need for infrastructure for effective charging. Wait periods at charging stations are a problem for both owners and operators of electric vehicles. Owners of electric vehicles are irritated by lengthy wait periods, and charging facilities are underutilised. Wait times at electric car charging stations are decreased using “OptiCharge,” a Firefly Algorithm-based solution. Scheduling charging stations makes sense given the Firefly Algorithm’s ability to adjust to changing conditions and solve challenging problems. In the present paper, we incorporate dynamic scheduling and waiting time computation mathematically into OptiCharge. Extensive testing and comparative analysis with different optimisation techniques demonstrate that OptiCharge decreases waiting times and enhances charging station performance. The results show how OptiCharge may enhance EV charging and promote intelligent, sustainable transportation.