A guidewire includes a core shaft and a coil body wound around an outer periphery of the core shaft. A distal end portion of the core shaft and a distal end portion of the coil body is fixed to each other to form a most distal end portion. The coil body includes a linear portion and a bent portion, the linear portion extending in a distal direction from a proximal end of the coil body, the bent portion being provided on a distal side of the liner portion. The core shaft and the coil body located in the bent portion are fixed to each other with a fixing member.