This study compares the performance of photovoltaic (PV) modules in two Moroccan cities, Beni Mellal and El Jadida, focusing on their response to various weather conditions over a year. It found that PV efficiency and performance ratios are affected by temperature and irradiation, with polycrystalline technology performing best in Beni Mellal and monocrystalline technology in El Jadida. The research highlights the significant impact of local climate on solar energy production, emphasizing the importance of considering environmental factors in PV systems.