The grid-connected inverter of new energy is mainly used to transmit active power, and it also could compensate the reactive current and negative sequence current which exists widely in the distribution network. In this paper, a negative sequence current compensation strategy with positive sequence priority is proposed. The negative sequence current optimal compensation strategy improves the compensation capability of negative sequence current while maintaining positive sequence power output for grid-connected inverters with limited capacity. Given the positive sequence output power, this paper obtains the solution domain of the negative sequence compensation current phasor according to the current constraint, the optimal compensation solution is obtained based on the geometric idea, and the control block diagram of generating the reference current is given. This paper analyzes the effect of compensation strategy on the improvement of compensation capability through MATLAB. Finally, PSCAD simulation is established to verify the effectiveness of the negative sequence current optimization compensation strategy. The results show that the negative sequence current optimization compensation strategy improves the compensation capability of negative sequence current while maintaining the positive sequence power output for a grid-connected inverter with limited capacity.