The invention discloses a method and a device for testing the amount of degassed gas lost in a shale gas well, comprising a coring barrel and a coring drill bit (11), and the coring barrel has an outer wall (1) of the coring barrel and an inner wall (5) of the coring barrel ), a rubber cylinder (10), a partition (12), a liquid level sensor (9), a high-pressure micro-constant flow pump (6), and a control unit are sequentially installed in the inner wall (5) of the upper part of the coring drill bit (11) (4), battery (3), coring and pitching (2), high-pressure micro-constant flow pump (6) is installed in the inner wall (5) of the coring cylinder by a support (7), and the support (7) is provided with a pressure sensor ( 16), the high-pressure micro-constant-flow pump (6) is connected with the electromagnetic valve (15) through the liquid discharge pipeline (13), and the other end of the high-pressure micro-constant-current pump (6) is provided with a suction port (8), and the rock core barrel dividing plate (12 ) and the inner wall (5) of the coring barrel to form a test cavity (14); one side of the coring and throwing ball (2) is provided with a micro switch (17). The invention solves the problem of gas loss in shale gas content testing, and the testing method is direct, simple and reliable, and the testing cost is low.