The edge-distinguishing chromatic number of a simple graph is the minimum number of colors assigned to the vertices in such that each edge corresponds to a different set . Al-Wahabi et al.\ derived an exact formula for the edge-distinguishing chromatic number of a path and of a cycle. We derive an exact formula for the edge-distinguishing chromatic number of a spider graph with three legs and of a spider graph with legs whose lengths are between 2 and .