LANSING, Mich. (AP) — Michigan Gov. Gretchen Whitmer has signed legislation to prohibit the sale of an over-the-counter cough suppressant to minors unless they have a prescription.

The restriction on dextromethorphan will take effect next July. Dextromethorphan, or DXM, is found in many cough and cold medicines but has been abused by teenagers seeking a hallucinogenic high.

READ MORE: Duggan, Adams Advance From Detroit Mayoral Primary

Retailers selling the over-the-counter drug will be required to ask for ID unless a customer appears to be at least 25 years old.

READ MORE: Whitmer Declares Emergency For Detroit Suburbs After Storms

People who sell DXM-containing products to youth under age 18 and minors who buy them will face civil fines.

Whitmer signed the bill Thursday.

MORE NEWS: Whitmer Recommends Mask Rules For School Districts As Delta Variant Spreads

© 2019 Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.