This document proposes using an Adaptive Neuro-Fuzzy Inference System (ANFIS) optimized by a Genetic Algorithm (GA) to track the maximum power point (MPP) of a photovoltaic (PV) system under varying weather conditions. Training data for the ANFIS is optimized by the GA. Simulation results in Matlab/Simulink show the proposed method achieves minimal error in tracking the optimal voltage (Vmpp) at the MPP with better performance than traditional tracking methods.