The best direction to install solar panels is north. This orientation allows panels to capture the most sunlight throughout the day, increasing energy production and efficiency. The installation angle and potential shading should also be considered to optimise solar gain.