There is provided a medical device that is capable of maintaining high operability and acquiring image information while employing an over-the-wire structure. The medical device (1) having an imaging function includes: a shaft main body portion (22) which is formed to have a double-lumen structure of having an image acquiring lumen (25) and a guide wire lumen(26) which are formed from a distal side to a proximal side of the shaft main body portion, and in which, in a proximal portion thereof, a first shaft proximal portion (222), in which the image acquiring lumen (25) is disposed, and a second shaft proximal portion (223), in which the guide wire lumen (26) is disposed, are bifurcated; a shaft distal portion (21) in which a common lumen structure, in which the image acquiring lumen (25) and the guide wire lumen (26) converge, is formed in a distal portion; a hub (5) that is provided with a first hub portion (51) which is interlocked with the first shaft proximal portion (222) and a second hub portion (52) which is interlocked with the second shaft proximal portion (223); and a transducer unit (41) that is fixed to a drive shaft (42). In a case where an axis line of the shaft main body portion (22) is set as a reference line X, ¸1 represents inclination of a central axis Y1 of the first hub portion (52) with respect to the reference line X, and ¸2 represents inclination of a central axis Y2 of the second hub portion (52) with respect to the reference line X, a relationship of ¸1 >; ¸2 is satisfied.