: You must present a valid photo ID (e.g., driver's license or passport) at the time of purchase.

The restriction is primarily a public safety measure. Pseudoephedrine is a precursor chemical used in the illicit production of meth. By requiring an ID and keeping the medication behind the counter, authorities can monitor high-volume buyers and deter those attempting to purchase the drug for non-medical purposes. The Evolution of Pseudoephedrine Regulation (Essay)

While the Combat Methamphetamine Epidemic Act of 2005 (CMEA) sets the baseline for these sales, specific regulations can vary slightly by state:

: In some states, a person under 18 may still obtain the medication if they have a valid prescription from a healthcare provider. Why the Age Restriction Exists