Blog

Why did my grocery run miss the grocery bonus? How merchant codes decide

A card's grocery rate follows a four-digit merchant code attached to the store, not what is in your cart. Who assigns it, why stores differ, and how to check.

Picture a shopper, call her Maya, who spends $240 on a Saturday morning: milk, produce, chicken, paper towels, a bag of cat food. She pays with a card that advertises a higher cash back rate on groceries. The next statement shows the ordinary base rate on the whole purchase. Nobody made a mistake, and nothing is broken. The card did exactly what its rules say, and the rules were never about what Maya put in her cart.

The short answer is that a grocery bonus is decided by a code attached to the merchant, not by the items. Every card payment carries a four-digit merchant category code, and the card's bonus category is defined as a list of those codes. If the store's code is on the list, the purchase earns the bonus. If it is not, the purchase earns the base rate, even if every item was food.

This post explains where the code comes from, why two stores that feel identical can be coded differently, and how to find out in advance whether a particular store will earn your bonus.

The code travels with the transaction, not with the receipt

When a card is used, a message goes from the merchant's side of the system to the card's side asking for permission to charge. That message carries the amount, a merchant name and identifier, and a merchant category code, usually shortened to MCC. The code is a four-digit number that describes the merchant's line of business in broad terms. As a commonly cited example, 5411 is the code widely used for grocery stores and supermarkets, 5812 for restaurants, 5814 for fast-food places and 5541 for service stations. Which code a specific business uses is a separate question, and the rest of this post is about that.

Two details matter for your rewards.

First, the code describes the merchant, not the basket. The card network and your issuer never see a line-by-line receipt in the ordinary course of a purchase. They see one amount and one code. A supermarket sells flowers, prescriptions and gift cards, and all of it arrives as one grocery-coded charge. A big-box store that sells a full grocery aisle arrives under whatever code that retailer uses for its business as a whole.

Second, the code is set once for the merchant account and does not change from one purchase to the next. A cashier cannot recode a sale because you bought mostly food. Nobody at the checkout lane can see or change it.

Who assigns the code, and who decides what it means

Three separate parties are involved, and each one makes its own decision.

  1. The merchant's payment setup. A business that accepts cards has an agreement with an acquirer, a bank that processes card payments for merchants, usually working through a payment processor. When the merchant account is created, the acquirer or processor typically assigns the merchant category code, following the code lists the card networks maintain. The merchant describes its business, and the code is chosen from that.
  2. The card network. A card network such as Visa or Mastercard publishes the list of codes and rules about how they are meant to be used. It does not decide which codes your rewards card treats as "grocery."
  3. Your card's issuer. The issuer writes the rewards terms. The terms say which merchant types count for the bonus: sometimes by naming the codes, more often by describing the category in words such as "U.S. supermarkets," with exclusions for things like warehouse clubs, superstores or discount stores.

So the question "does this store count as a grocery store?" really has two parts. What code does the store use? And does your card's grocery bonus include that code? A store can pass the first test in the minds of its customers and fail the second in the terms of your card.

Why stores that feel alike can be coded differently

A table of typical situations shows the pattern. The treatments below are illustrations of how card terms commonly work. They are not a statement about any named store or card.

Where you shop What the code usually reflects Does it earn a typical grocery bonus?
Neighborhood supermarket chain Grocery store or supermarket Usually yes
Large discount superstore with a grocery section General merchandise or discount store Often not; many card terms exclude superstores
Warehouse membership club Wholesale club Often not; check the terms, which frequently exclude clubs
Drugstore that sells snacks and milk Pharmacy or drugstore Usually not
Convenience store at a gas station Service station or convenience store Usually not
Specialty food shop (bakery, butcher, produce stand) A narrower food-store code Depends on whether the terms list it
Farmers market stall using a card reader app Whatever the app's payment company assigned Uncertain; often a generic code
Grocery pickup or delivery order Depends on the store and the app used Depends; see below

Look at the middle rows. A superstore may sell more groceries than a small supermarket, yet it is a general merchandise business by its own description, and its code says so. A warehouse club may be the cheapest place a family buys food, but the club's code is for a wholesale business. Card issuers know this, and many write their grocery category to exclude those merchants on purpose, because the economics of a bonus rate look different for stores that sell everything.

The reverse also happens. A small independent grocer may be set up under a payment company that assigns a more general code, and a purchase there can miss the bonus even though the store is exactly what a person pictures when they hear "grocery store."

What happens online, at pickup and at delivery

The code logic does not change, but the merchant sometimes does. An order placed through a supermarket's own website or app is generally a charge from that supermarket, so it tends to carry the same code as the store. An order placed through a third-party delivery or shopping app is a charge from the app's company, which has its own code and its own terms. The same applies to a pickup order paid through a marketplace checkout. The statement line shows the merchant that charged you, and that is the merchant whose code counts.

Two cautions follow. A grocery order that goes through a third-party app may earn the grocery bonus, the base rate or something else, and the only way to know is to read your card's terms and look at how the charge appears. And fees on those orders, such as a service charge or a tip to a shopper, are part of the same charge, so they earn whatever the merchant earns. For the payment-path side of this, see Why marketplace and PayPal checkouts sometimes skip your bonus category.

What it costs: a worked example

Say Maya's card pays an illustrative 3% on groceries and 1% on everything else. These numbers are invented for the illustration and are not any card's rates.

  • If her store is coded as a grocery store: $240 x 3% = $7.20 in rewards.
  • If her store is coded as a superstore: $240 x 1% = $2.40 in rewards.
  • The difference on one trip: $7.20 - $2.40 = $4.80.

Now scale it. Suppose she makes two $240 trips a month at that store, $480 a month.

  • Monthly difference: $480 x (3% - 1%) = $480 x 2% = $9.60.
  • Yearly difference: $9.60 x 12 = $115.20.

That is a real amount, but notice what it is a difference between: two rewards totals of $172.80 and $57.60 on $5,760 of annual spending ($5,760 x 3% = $172.80 and $5,760 x 1% = $57.60). The code did not take away her money. It decided whether the card's headline rate applied. If Maya had a second card that paid a flat 2% on everything, the miss would cost her far less, because the fallback would be $115.20 rather than $57.60. That is one reason many people compare a bonus card with a flat-rate fallback in four households, four grocery budgets: what a grocery card really pays before deciding what to rely on.

How to find out which code a store uses

You usually cannot look up a merchant's code before you pay, and a store clerk will not know it. You can still find out in four steps, in order of effort.

  1. Read the category definition in your card's terms. Open the rewards terms or the credit card agreement and find the sentence that defines the grocery category. Note the exclusions. If the terms name warehouse clubs, superstores or specialty shops, you already have your answer for those stores.
  2. Check how a past purchase was categorized. Many issuers show a category label on each transaction in the app or on the online statement. Compare the label with the rewards you earned. If the app labels a charge "Groceries" and the rewards did not follow, the label may be the app's own guess and not the code that governs rewards. Treat the earned amount as the evidence.
  3. Make a small test purchase. A $5 purchase at a store you are unsure about, followed by a look at the rewards line when it posts, tells you what the store's code does for your card. Keep the test small so a miss costs almost nothing.
  4. Ask the issuer. A customer service chat or a call to the number on the back of the card can answer "does a purchase at this merchant count as grocery for my rewards?" Ask for the answer in writing or save the chat. The representative may be able to see how the merchant was coded on a past transaction.

What you can and cannot change

A merchant's code is not something a customer can edit. Issuers generally treat a rewards category as a matter of contract terms, and a merchant coded outside the bonus list is not an error on the issuer's part. That does not mean every miss is correct, though. If the charge was coded as a grocery store by the issuer's own app and your terms plainly list that kind of store, or if the terms describe a category that the transaction clearly fits and you were not credited, it is reasonable to raise it.

Here is a sensible order. Start by asking the issuer to review the transaction against the written terms. If you do not get a satisfactory answer, you can file a complaint with the CFPB, which sends it to the company for a response. A rewards shortfall is usually a question of contract terms and not a statutory billing error, so set expectations accordingly: the likely outcome is an explanation, and sometimes a goodwill adjustment, not a legal remedy. If you are weighing a bigger decision, such as which card to carry for groceries over the long run, the terms, not the complaint process, are the thing to read.

Mistakes that cause misses

  • Assuming the store's reputation sets the category. People call a superstore "my grocery store." The code does not.
  • Assuming the items decide it. A cart that is 90% groceries at a non-grocery merchant is still a non-grocery purchase for rewards.
  • Reading an advertised rate without the definition. A headline such as "3% on groceries" is shorthand. The definition, the exclusions and any cap sit in the terms. A cap is its own problem, covered in grocery bonus caps: how to calculate what you earn after you pass the cap.
  • Ignoring the payment path. Paying through a third party, a payment app or a marketplace can change what merchant the card sees.
  • Changing stores to chase a bonus. If a store with a covered code costs more per week, the extra price can cost more than the rewards give back. spending more to earn more: how chasing cash back costs you money covers how that goes wrong.

A short pre-checkout routine

None of this needs to turn into a project. A routine of about two minutes, done once per store, is enough.

  • Write down the three or four places you buy most of your food.
  • Check the card's grocery definition against each one.
  • For any place that is uncertain, run a $5 test or ask the issuer.
  • Record the result in a note so the answer survives past this month.
  • Revisit the list if you change your main store, if your card issuer changes its terms (a written change-in-terms notice is required in advance for significant changes), or if the store switches how it takes payment.

The time cost is small, and the result is that you know, for each store, whether your grocery card will pay its headline rate there. You can use the cash back comparison calculator with your own monthly totals to see what the difference is worth at your actual spending.

Key takeaways

  • A grocery bonus follows a four-digit merchant category code attached to the store, not the contents of your cart or the way the store feels to you.
  • The code is set when the merchant account is created, usually by the merchant's acquirer or processor, and the card issuer separately decides which codes count for its bonus.
  • Superstores, warehouse clubs, drugstores and convenience stores often fall outside a grocery category even when you buy mostly food there.
  • A small test purchase and a read of the card's own category definition answer most "will this count?" questions for a few dollars.
  • A miss is usually a terms question: ask the issuer to review it, and use the CFPB complaint process if you disagree with the answer, but expect an explanation more often than a payout.

Terms used in this article

Related tools

Latest on this topic