A semiconductor device includes: a semiconductor layer made of a group-III
nitride semiconductor and having a first surface and a second surface
opposed to the first surface; a Schottky electrode formed on the first
surface of the semiconductor layer; and an ohmic electrode electrically
connected to the second surface of the semiconductor layer. The
semiconductor layer has, in at least the upper portion thereof,
highly-resistive regions selectively formed to have a high resistance.