To provide a magnetic element the ends of the coil of which can be drawn out from the core easily, is compact, and further, is one in which magnetic saturation does not arise easily. The semiconductor device according to the invention, which includes a buried insulator region 5 disposed between an n\u2212-type drift layer 3 and a first n-type region 7 above n\u2212-type drift layer 3, facilitates limiting the emitter hole current, preventing latch-up from occurring, raising neither on-resistance nor on-voltage. The pressure sensor element is disposed in a recess that is formed on the bonding face.