The world's largest retailer says the new rules will take effect in July, and will also include its Sam's Club warehouse stores.
Previously, its minimum purchase age was 18, aside from a number of states where the law required a minimum purchase age of 21.
Last month, drugstore operator Walgreens also said it would increase the minimum age for tobacco sales to 21.