Beginning July 1st, if you’re under the age of 21 and looking to purchase tobacco and e-cigarette products at Walmart, you are out of luck.

Walmart announced in May that it would raise the minimum age to purchase tobacco and e-cigarette products to 21 starting in July. The new policy affects all Walmarts, Neighborhood Markets and Sam’s Club stores in the country.

Previously, the minimum age to purchase tobacco products in Walmart’s stores was 18. Military members will be exempt from the new law, and it won’t apply to smokers who turn 19 before 2020. The exceptions are meant to phase in the new age limit to 21 for all by 2021.

The retail giant also said it would stop selling fruit and dessert-flavored e-cigarettes, which have been criticized as responsible for getting teenagers hooked on vaping.