It follows a rise in attacks from the hardline Islamic group on government troops in recent weeks.
President Ashraf Ghani welcomed the announcement, and said his soldiers would respect the terms of the truce.
The three-day ceasefire is likely to raise hopes of a longer-term reduction in violence in the country.
But a similar ceasefire was announced for Eid in 2018 and was not extended.
"Do not carry out any offensive operations against the enemy anywhere. If any action is taken against you by the enemy, defend yourself," Taliban spokesman Zabihullah Mujahid said on Saturday.
He added that the ceasefire ...
Read the full text bbci.co.uk