The invention discloses a silencing box body for a box-type transformer with a modular structure. The silencing box body comprises a double-layer top cover module, a resonant sound absorbing wall body and a door connected below the double-layer top cover module, a silencing fence, a bottom beam, and a box body foundation provided with an inflow air silencer, wherein the bottom beam, the silencing fence and the box body foundation are fixed together through a positioning connecting rod; and the entire transformer box body is modularized, and comprises four parts. Due to the adoption of the silencing box body, large-scale production can be realized, and convenience is brought to transportation and field installation; meanwhile, convenience is brought to subsequent maintenance; and in particular, when the transformer is required to be overhauled, only a top cover is required to be detached, and the transformer is hoisted out of the box body, so that the cost is lowered.