The paper presents an enriched firefly algorithm (EFA) designed to address the optimal reactive power dispatch problem, leveraging a cooperative multi-swarm approach to improve the performance and convergence of the traditional firefly algorithm. Testing on the IEEE 30-bus system demonstrates that the EFA effectively minimizes real power loss compared to various existing methods. Simulation results indicate its robustness and capability in managing control variables within specified limits.