The invention discloses an AC/DC zero-flux fluxgate current sensor, which comprises a fluxgate current sensor body and a configuration and calibration circuit for configuring and calibrating the fluxgate current sensor body. The fluxgate current sensor body comprises a first iron core, a second iron core, an excitation winding, a feedback winding and a measurement winding. The configuration and calibration circuit comprises a processor, a crystal oscillator, an RS232 interface circuit, an excitation source amplification drive circuit, a programmable compensation signal tracker, a programmablefilter, a phase-sensitive demodulation circuit, a PI control circuit and a power amplifier. The invention discloses a program control configuration and calibration method of an AC/DC zero-flux fluxgate current sensor. According to the invention, the offset current caused by inconsistent parameters of the two iron cores can be automatically matched, the requirement on the process consistency of thetwo fluxgate iron cores can be greatly reduced, the optimal performance of the fluxgate sensor can be realized, the practicability is strong, and the popularization and use values are high.