The blasts took place in Bara Kamangara area of Bajaur agency.
Two soldiers were killed in Bajaur agency today in two different improvised explosive device blasts planted by terrorists, the military said in a statement.
No one has claimed responsibility for the attack but Taliban often target the security forces in the region.
Bajaur is frequently targeted by militants hiding in Afghanistan's Kunar province.