Twenty-three states and the District of Columbia have legalized cannabis for medical use, with legislation pending in three more states. Massachusetts legalized medical marijuana in 2012 as a result of a ballot measure approved by 63% of state voters.