The object of the present invention is to prevent generation of whisker in a Pb-free plating layer. Provided is a Pb-free Sn-B plating solution containing tin sulfate, which is a source of Sn ions, and dimethyl amine borane or trimethyl amine borane, which is a source of B ions.