Since the line loop current is equivalent to the double layer charge, it gives an integral form of scalar potential. The segmental loop current on the interface between magnetic materials produces a potential gap, which works to give a boundary integral equation (BIE). By virtue of another potential gap due to a fictitious circulating current along the contour of cut-surface in the material, the excitation potential becomes single valued and the BIE becomes applicable to generic problems without any restriction. Regarding the nonlinear magnetic material as composed of segmental materials with different values of permeability, we get the same BIE for the nonlinear analysis as for the linear analysis. In order to check the adequacy and effectiveness of the nonlinear BIE, we solve a typical magnetostatic problem and compare the computed results with those by the conventional magnetic moment method.