Teachers in England will strike on Thursday 27 April and Tuesday 2 May after members of the UK's largest education union rejected a pay offer.
Teachers were offered a £1,000 one-off payment this year, and a 4.3% rise next year. Starting salaries would also rise to £30,000 from September.
The results of the NEU ballot found that 98% of members were in favour of turning the deal down.
The education secretary said it was "extremely disappointing".
The National Education Union (NEU) described the offer as "insulting" and said it has "united the profession in its outrage".
Speaking at the annual conference in Harrogate, Joint General Secretaries Mary Bousted and Kevin Courtney said the offer was "not fully funded" and did not deal with the shortage of teachers in schools.