The document presents a chaotic based pteropus algorithm (CPA) for solving the optimal reactive power problem, improving global solution searches through the incorporation of chaotic disturbances. The algorithm is tested on standard IEEE 14 and 300 bus systems, demonstrating significant reductions in real power loss compared to traditional methods. By modeling the natural behaviors of pteropus and adapting the algorithm to enhance population diversity, the CPA shows improved performance in optimization tasks.