The legality of medical marijuana varies by country and state. In the United States, it is legal in many states for medicinal use, but it remains illegal at the federal level. Patients should consult with their healthcare providers and local regulations to understand the legal implications.