Provided is a medical device capable of acquiring image information capable of maintaining high operability while having an over-the-wire structure. A medical device (1) having an imaging function, in which an image lumen (25) and a guide wire lumen (26) are formed in a double lumen structure from a distal end side to a proximal end side, and an image lumen (25 ) In which the first shaft proximal end portion (222) where the guide wire lumen (26) is disposed and the shaft main body portion (22) where the second shaft proximal end portion (223) is branched, and for the image at the distal end portion. A shaft distal end portion (21) in which a common lumen structure where the lumen (25) and the guide wire lumen (26) merge is formed; a first hub portion (51) coupled to the first shaft proximal end portion (222); A hub (5) having a second hub portion (52) connected to the second shaft base end portion (223), and a vibrator unit (4) fixed to the drive shaft (42) ), The axis of the shaft body portion (22) is the reference line X, the inclination of the central axis Y1 of the first hub portion (52) with respect to the reference line X is θ1, and the second hub portion (52 with respect to the reference line X) ) Satisfying θ1 >; θ2 , where θ2 is the inclination of the central axis Y2.