According to one embodiment, a
semiconductor device includes a first
electrode, a second
electrode, a first region, and a second region. The second
electrode is separated from the first electrode. The first region includes a first
semiconductor region of a first
conductivity type, a second
semiconductor region of a second
conductivity type, a third semiconductor region of the first
conductivity type, a gate electrode, a fourth semiconductor region of the second conductivity type, a fifth semiconductor region of the first conductivity type, and a sixth semiconductor region of the first conductivity type. The fifth semiconductor region, located between the fourth semiconductor region and a portion of the third semiconductor region, has a higher first-conductivity-type
impurity concentration than the third semiconductor region. The sixth semiconductor region, located between the third semiconductor region and the portion of the second electrode, has a higher first-conductivity-type
impurity concentration than the third semiconductor region.