The invention discloses a system capable of adjusting illumination duration and intensity of a farm. The system comprises a server, a cloud database, a display module, a storage module, an identity authentication module, an administrator module, a control module, a glass module, a transmittance adjusting module, a time module, a sensor module, a temperature adjusting module, a light adjusting module, an animal position capturing module and an illumination supplementing module. The server is connected with the cloud database, the display module, the storage module, the identity authentication module, the administrator module and the control module through cables and a network. The control module is connected with the glass module, the light transmittance adjusting module, the time module, the sensor module, the temperature adjusting module, the light adjusting module, the animal position capturing module and the illumination supplementing module through cables. The system capable of adjusting the illumination duration and intensity of the farm has the advantages of intelligent light adjustment, light position adjustment, multiple identity recognition and environment detection.