The invention discloses a method for intelligently adjusting the endoscope illuminance, which comprises the following steps of: step 1, initializing; step 2, outputting standard illuminance by a cold light source of an endoscope; step 3, when the endoscope is in a working state, observing and acquiring the interior real-time image of a human organ; step 4, respectively obtaining the pixel values R1(u, v), G1(u, v), B1(u, v) and the average values bar(R)1(u, v), bar(G)1(u, v), bar(B)1(u, v) of the pixel values of the R, G and B three primary colors of an RGB real-time color image; step 5, carrying out color cast correction on the real-timely acquired image; step 6, selecting the maximum and minimum from the pixel values of the three primary colors after the color cast correction; step 7, correcting the image brightness; step 8, calculating the image pixel average value after the image brightness correction and the comprehensive average value thereof; and step 10, comparing J and J0 in the database, and adjusting the illuminance output of the cold light source. According to the method, the endoscope illuminance can be intelligently adjusted to realize an optimized effect no matter how the endoscope is bent.