The invention relates to an encapsulation method of a galvanic pile module of a fuel cell, which comprises the following steps that: firstly, an integral galvanic pile is arranged in an encapsulation box from the rear end, eight fixed blocks on the galvanic pile are connected by bolts and software damping linings are arranged between fixed pins and the encapsulation box; secondly, on a back cover plate, a 1 millimeter white tetrafluoro pad is horizontally placed on a hydrogen joint, a 2 millimeter silica gel gasket is horizontally placed on a stainless steel joint, the white tetrafluoro pad and the silica gel gasket are stuck by fast-curing adhesives, and after curing, the back cover plate and the encapsulation box are fixed by eight M5-10 flange face screws and a red gasket; and finally, the galvanic pile module is arranged vertically, the back cover plate is downwards, and a front cover plate and the encapsulation box are fixed by the eight M5-10 flange face screws and the red gasket, so that the encapsulation of a galvanic pile module structure is completed. In the encapsulation method, components and parts in the integrated structure of the galvanic pile module of the fuel cell are integrated step by step; and the design that the fixed pins of the galvanic pile are connected with the encapsulation box is adopted, so that the galvanic pile module of the fuel cell has the functions of water prevention, dust prevention, seismic resistance, electric insulation, hydrogen safety protection, heat insulation and the like.