We demonstrate, experimentally and theoretically, that in a mode-locked two-section quantum-dot laser, the pulsewidth decreases with temperature. The primary cause is the increase of carrier capture rate with temperature, leading to a faster absorption recovery.