The invention provides a digital servo control system based on a gyrocompass. A main control processing module is used for acquiring the signals of an 8-shaped coil detection module, an electromagnetic pendulum detection module and an accelerometer detection module, processing the signals, starting a gyroscope, generating a pitching motor operation control instruction and an azimuth motor operation control instruction, and tracking and controlling the operation of a pitching motor and an azimuth motor in real time. According to the system, software debugging can be conducted with the main control processing module directly, the debugging method is simple, flexible design can be realized, and the problem that the stability of an existing servo control system is poor due to the fact that the characteristics of devices are affected by environment temperature is solved. According to a processing method of the digital servo control system based on the gyrocompass, the acquired signals output by an 8-shaped coil, an electromagnetic pendulum and an accelerometer can be processed, and the gyrocompass is controlled to stay in the meridian plane and points north stably.