"Following instructions by the ministry of information and culture, the ministry of communication has ordered all service providers to block YouTube access," communications ministry official Aimal Marjan told AFP.
He said the block had been ordered "until YouTube removes this abusive film".
The Afghan presidency earlier condemned the film as "inhuman and insulting," calling for it not to be broadcast.
It was made by an Israeli-American, the Wall Street Journal reported.
It has been promoted by controversial US pastor Terry Jones, who has drawn protests for burning the Holy Quran and vehemently opposing the construction of a mosque near Ground Zero in New York.
The communications ministry official said the ban may be lifted if video-sharing website YouTube bans access to the film.
"It seems YouTube has removed all searches for Prophet Mohammed. We may lift the ban soon if it is confirmed that YouTube has banned access to this trailer," Marjan told AFP.
At least one Internet user in Kabul confirmed to AFP that he lost access to the website about an hour before the announcement was made public.
Riots in Afghanistan killed around 40 people earlier this year after US troops burnt copies of the Holy Quran on a military base.
COMMENTS (7)
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ
We are strongly condemed of USA anti muslim disputed film.
Except Hamid Karzai and his ministers who else has access to Internet
Great work done by Afghan Govt. Take further steps for it must be stop in name of freedom, can west allow us same shameful Act on holocaust under the umbrella of freedom?.** Never.
websites should not be blocked. people use Youtube for many other purposes. blocking stops positive use of websites. People who don't like this movie or any other movie should not watch it.