<p>An inverter device, comprising: a main circuit section (4) including a heat-generating element; a logical section (5) disposed apart from said main circuit section (4); a shielding member (7) disposed between said main circuit section (4) and said logical section (5); and a cooling means (6) which cools said main circuit section (4); said main circuit section (4) and said logical section (5) being so constituted as to be disposed in independent chambers by said shielding member (7).</p>