There is provided a medical device in which it is easy to interchange a guide wire during an operation and it is possible to inject a contrast agent, medicine, or the like into a living body via a guide wire lumen such that it is possible to acquire image information.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) that 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 first hub portion (51) that is interlocked with the first shaft proximal portion (222); a second hub portion (52) that is interlocked with the second shaft proximal portion (223); a hub casing (53) that collectively covers the first shaft proximal portion (222), the second shaft proximal portion (223), the first hub portion (51), and the second hub portion (52); and a transducer unit (41) that is movable in the common lumen (27).