Provided is an electric wire with a terminal (1), in which a resin portion (4) molded by a die covers a conductor exposure portion of a terminal (3) to which a conductor is connected. At least groove portion (16) is provided at a part of the terminal (3) covered with the resin portion (4) so that the groove portion (16) prevents the resin portion (4) from separating from the terminal (3) in a removing direction of the die after the resin portion (4) is molded by the die.