Is ayahuasca legal in mexico? It is neither legal nor illegal. ... Ayahuasca is in a legal gray area in most countries of the world because DMT is illegal by international treaty, but the UN drug office gives countries the option of exempting ayahuasca from that law.