The invention discloses a two-dimensional magnetic liquid vibration absorber with a non-linear energy trap, comprising four vibration damping units in the directions of two moving degrees of freedom, and its structure is composed of a casing, a dynamic mass and a stator; wherein, the casing is composed of Left end cover, coil lead inlet, cylindrical shell, heat dissipation hole, right end cover, coil lead outlet, sealing ring; dynamic mass consists of left end nut, permanent magnet ring, magnetic conductive block, permanent magnet ring cage, right end nut, micro-nano It is composed of magnetic composite fluid; the stator is composed of a coil cage, a coil winding and a copper coil; the guide component includes a left limit block, a guide shaft, a right limit block and a lubrication groove. Based on the second type of suspension characteristics of the magnetic liquid, the invention realizes the vibration-targeted energy transfer between the nonlinear energy trap and the flow pipeline, and finally dissipates the vibration energy of the flow pipeline through the viscosity of the magnetic liquid.