Unknown gunmen on Monday morning killed Syed Usman Hussaini, deputy chief of education department in Khost province of eastern Afghanistan, local officials said.
Armed men opened fire toward a car carrying Hussaini in Yaqubi district, killing him and injuring one of his colleagues, district chief Gul Qasim Jihadyar told Xinhua.
Provincial governor Arsala Jamal said an investigation into the murder was underway.
No one has claimed responsibility and it is unknown what motivation was behind the incident.
However, Taliban militants have frequently attacked schools, teachers and students, and education officials in the country.
The Taliban banned girls from receiving education during its rule from 1996 to 2001.
Khost, a mountainous region, has been a hotbed of Taliban and other anti-government militants.