The two-photon excitation fluorescence (TPEF) process of an enhanced green fluorescent protein (EGFP) for fluorescence signals was adaptively controlled by the phase-modulation of femtosecond pulses. After the iteration of pulse shaping, a twofold increase in the ratio of the fluorescence signal to the laser peak power was achieved. Compared with conventional pulses optimized for peak power, phase-optimized laser pulses reduced the bleaching rate of EGFP by a factor of 4 while maintaining the same intensity of the fluorescence signal. Our method will provide a powerful solution to various problems confronting researchers, such as the photobleaching of dyes in two-photon excitation microscopy.