In this research, the design and simulation of a heat sink for photovoltaic panels were carried out using aluminum and copper, the most commonly used materials in heat dissipation systems. This heat sink consisted of fins that were tested both perforated and non-perforated to improve heat dissipation efficiency. This research stems from the need to reduce the temperature of photovoltaic panels during operation, as scientific evidence shows that photovoltaic panels experience a decrease in efficiency as the temperature increases, taking as a reference the temperature under standard test conditions. The simulations of photovoltaic panels with aluminum and copper fins, both perforated and non-perforated, followed a rigorous methodology. For validation, the simulation results were compared with field data, yielding a mean absolute percentage error of 1.71%. The findings indicate that copper fins reduced the temperature of the photovoltaic panel by 2.62 K, resulting in a 1.31% increase in efficiency. Similarly, aluminum fins reduced the temperature by 2.10 K, with a 1.05% increase in efficiency. Perforated copper fins achieved a temperature reduction of 3.07 K, increasing efficiency by 1.54%, while perforated aluminum fins reduced the temperature by 2.49 K, contributing to a 1.25% increase in efficiency.