The ambush happened Saturday in Farah province's Bakwa district, Khaama Press reported Sunday.
Provincial spokesman Fawad Askari confirmed that four Afghan national army soldiers were killed in the attack and four others were injured.
The militants fled the area after the attack, Askari said.
No group has claimed responsibility for the attack.
Kim Kardashian, Kanye West reportedly set wedding date
Ray Liotta sues skin care company over use of likeness