A kodachi (小太刀 or こだち), literally translating into "small or short tachi (sword)", is one of the traditionally made Japanese swords (nihontō) used by the samurai class of feudal Japan. Kodachi are from the early Kamakura period (1185–1333) and are in the shape of a tachi. Kodachi are mounted in tachi style but with a length of less than 60 cm.
The exact use of the kodachi is unknown; it may have been a companion sword to normal sized tachi or it may have been a sword for an adolescent. Kodachi appear to have been produced only in a certain time period by specific schools of sword makers.