Let G be a family of graphs. The anti-Ramsey number AR(n,G) for G is the maximum number of colors in an edge coloring of Kn that has no rainbow copy of any graph in G. In this paper, we determine the bipartite anti-Ramsey number for the family of trees with k edges.