Unite members working on the Supertram network in Sheffield will strike on 9 and 12 July in a dispute over pay.
Workers had been offered a 26p per hour pay rise for both this year and next year, which they have rejected.
Over 200 tram drivers and conductors, employed by Stagecoach, took part in the ballot and 91.7% voted for strikes.