Online gambling is illegal in Afghanistan, and the government has taken steps to block access to online gambling websites. Gambling of any kind is considered haram (forbidden) under Islamic law, and Afghanistan is an Islamic country. The government has also implemented measures to block access to foreign gambling websites and has worked to prevent money from leaving the country to be used for gambling purposes. It is not clear to what extent these measures have been effective in preventing Afghans from accessing or participating in online gambling.