The walkout by members of the Unite Union will begin on 31 March with the final day of strike action on Easter Sunday (9 April).
The strike involves security guards employed at Terminal Five, which is used exclusively by British Airways, and Campus security guards who are responsible for checking all cargo that enters the airport.
Unite general secretary Sharon Graham said: "Workers at Heathrow airport are on poverty wages while the chief executive and senior managers enjoy huge salaries.