<p>An exhaust gas purifier in which the temperature of exhaust gas that flows directly through a particulate filter incorporated in a muffler can be accurately detected. In the exhaust gas purifier incorporating a particulate filter (9) in a muffler (1) provided in the middle of an exhaust pipe, a recess reaching a position close to the particulate filter (9) in the casing (2) of the muffler (1) is formed as a cup (21) at a temperature detecting position in the casing (2) and a temperature sensor (22) is penetrated through and set at the deepest part of the recess that the cup (21) forms.</p>