The legal status of unregulated psilocybin varies throughout the world. Psilocybin and psilocin are registered as scheduled medicines under the Convention on Psychotropic Substances.
You can buy shrooms that are defined with a high potential for abuse or without a recognized medical use. However, the psilocybin fungus has many medicinal uses and is religious in many cultures throughout history and has a much lower potential for abuse.
The psilocybin mushroom is not regulated by UN treaties. Mushrooms containing the above substance are collected and used for their hallucinogenic effect. Following international law, no plant (a natural substance) containing psilocin and psilocybin is currently controlled under the Convention on Psychotropics.
Therefore, preparations made from this plant are not subject to international control and therefore are not subject to the Convention. Criminal cases are resolved according to national laws, which in turn can regulate the control of mushrooms containing psilocin and psilocybin.
However, there are some levels of regulation or prohibition of the psilocybin fungus in many countries. The psilocybin mushroom ban has been criticized by the public and by researchers who see its therapeutic potential for addiction and other mental disorders such as PTSD, anxiety, and depression, and cluster headaches.
Among regulated drugs, the mushroom psilocybin also poses relatively few medical risks.