The invention discloses an automatic control system for aligning and coupling an optical fiber and an electrooptical modulator. The system comprises a tunable laser, an optical power meter, the electrooptical modulator, a polarization-preserving optical fiber, a regulating frame, a step motor controller, a general-purpose interface bus (GPIB) card, a GPIB cable, a serial port communication cable and a computer. The tunable laser is connected with input optical fibers, the optical power meter is respectively connected with the output optical fibers, the electrooptical modulator is arranged among the input optical fibers and the output optical fibers, the input optical fibers and the output optical fibers are fixed on the regulating frame which is connected with the step motor controller, the step motor controller is connected with the GPIB card in the computer through the GPIB cable, and the optical power meter is connected with the computer through the serial port communication cable. The invention solves the problems that the traditional manual regulation of optical fibers has long time and the optical fibers are not aligned easily and cannot be precisely positioned due to the disturbance from external environments.