Every card transaction is tagged with a four-digit Merchant Category Code (MCC) assigned by the payment networks, and this code -- not the store's name or branding -- determines whether a purchase qualifies for a bonus category like groceries, dining, or gas.
MCC assignment is set by the merchant's payment processor based on the business's primary registered activity, which is why coding can feel inconsistent from a consumer's perspective. A bakery that also serves coffee might be coded as a restaurant, a grocery store, or a specialty food retailer depending entirely on how its processor classified it -- not on what a customer would call it.
This is the single most common source of cash back 'surprises' reported by cardholders: a purchase expected to earn a 4% dining bonus instead earns the base 1% rate because the merchant was coded outside the dining MCC range, or a superstore purchase that looks like groceries gets coded as general merchandise instead.
Because MCC coding is set at the merchant level and rarely changes, the most reliable way to avoid this friction is checking an issuer's official list of MCC ranges that qualify for a given bonus category, rather than assuming based on the store's apparent business type.
Understanding MCC mechanics also explains why the same purchase can earn different bonus rates on different cards from different issuers -- each issuer defines its own qualifying MCC ranges for a category like 'dining' or 'travel,' so there is no single universal standard across the industry.
Continue reading: Rotating 5% Categories Explained: A Full Quarterly Guide · Try the free Cash Back Mastery Simulator
A merchant typically has one MCC per payment terminal or account, though large multi-department stores sometimes register different MCCs for different registers or departments.
It's likely the merchant's assigned MCC falls outside your card issuer's defined dining category range, even though it's a restaurant in practice.