A guidewire includes a core wire, a coil body that covers the core wire, a tip portion that fixes a distal end of the core wire to a distal end of the coil body, and a resin layer formed on an outer peripheral surface of the core wire. The resin layer is formed at least on an outer peripheral surface of a distal end portion of the core wire so as to extend toward a proximal end of the core wire from a position separated from the tip portion toward a proximal end of the guidewire.