Skip to content

NAICS Code for a Bakery: 311811, 311812 or 722515

The NAICS code for a bakery depends on what it does: 311811 for a retail bakery baking from flour, 311812 for a commercial one, 722515 for eat-in.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed November 28, 2026 · 6 min read

A bakery's NAICS code depends on three things: whether you bake from flour on the premises, whether customers take the goods away or eat them there, and whether you sell to the public or to other businesses. The Census Bureau's 2022 definitions sort them this way. A shop that bakes from flour and sells bread and pastries to take home is 311811, Retail Bakeries. A bakery that manufactures fresh or frozen bread and other fresh bakery products is 311812, Commercial Bakeries. A shop that sells baked goods made somewhere else is 445291, Baked Goods Retailers. And a place that prepares and sells bakery products for immediate consumption is 722515, Snack and Nonalcoholic Beverage Bars. A neighborhood bakery can be three of those at once, as the trigger's is, and a form wants one. Below are the codes with their definitions, the cross-references that separate them, how to choose when you do several, and a sheet. The codes are the 2022 ones, read on the Census Bureau's NAICS search.

The short version

  • Bake from flour, sell to take home: 311811, Retail Bakeries.
  • Manufacture fresh or frozen bread and fresh bakery products: 311812, Commercial Bakeries.
  • Sell baked goods made elsewhere: 445291, Baked Goods Retailers.
  • Sell them to eat on the spot: 722515, Snack and Nonalcoholic Beverage Bars.
  • Cookies and crackers: 311821. Frozen cakes and pies: 311813. Tortillas: 311830.
  • Several of these: give the code of the largest. TaroStack keeps what you bake and sell, by item. More below.

The codes

Code Industry Establishments primarily engaged in
311811 Retail Bakeries Retailing bread and other bakery products not for immediate consumption, made on the premises from flour, not from prepared dough
311812 Commercial Bakeries Manufacturing fresh and frozen bread and bread-type rolls and other fresh bakery products, except cookies and crackers
311813 Frozen Cakes, Pies, and Other Pastries Manufacturing Manufacturing frozen bakery products, except bread, such as cakes, pies and doughnuts
311821 Cookie and Cracker Manufacturing Manufacturing cookies, crackers and other products, such as ice cream cones
311824 Dry Pasta, Dough, and Flour Mixes Manufacturing from Purchased Flour Manufacturing dry pasta, or prepared flour mixes or dough from flour ground elsewhere
311830 Tortilla Manufacturing Manufacturing tortillas
445291 Baked Goods Retailers Retailing bakery products not for immediate consumption that were made elsewhere
722515 Snack and Nonalcoholic Beverage Bars Preparing and selling bakery products, such as cookies and pretzels, for immediate consumption

The first six sit in industry group 3118, Bakeries and Tortilla Manufacturing, which is part of food manufacturing. The last two are a retail code and a food service code.

The index entries under 311812 list what a commercial bakery makes: bagels, bread and rolls, fresh cakes, croissants, doughnuts, fresh pastries and pies, soft pretzels, matzo. Hard pretzels are sent to 311919, Other Snack Food Manufacturing.

The lines between them

The cross-references under 311811 and 311812 draw four lines:

Question If yes If no
Is it made on your premises? A 3118 code 445291, a retailer of goods made elsewhere
From flour, and not from prepared dough? 311811 fits a retail bakery Read the definitions again: 311811 says "not from prepared dough"
Do customers take it away? 311811 or 311812 722515, for immediate consumption
Is it cookies or crackers you manufacture? 311821 311812 for other fresh bakery products

The words that do the work are "not for immediate consumption". A loaf in a bag is retail bakery. A cookie handed over with a coffee to eat at the table is a snack bar.

A bakery that does several

Every definition starts "establishments primarily engaged in". I'd read "primarily" as the activity with the largest share of sales. If a form defines it another way, follow the form.

What the business does Sales Share Code
Bread and pastries baked here from flour, sold over the counter to take home $210,000 58.3% 311811 Primary activity
Bread baked for cafes and grocers $90,000 25.0% 311812
Coffee, and pastries eaten at the tables $60,000 16.7% 722515

Made up. This bakery is 311811, not the cafe code its owner picked.

If the wholesale bread grows past the counter, it becomes 311812. Redo the sum each year.

A home bakery

The definitions describe what an establishment does, not where. A home baker who bakes from flour and sells cakes to take away is doing what 311811 describes. Whether you may sell from home at all is a different question, with your state's answer: cottage food license.

What the code isn't

Not a licence and not a tax status. The licence is in cookie business license, the tax number in EIN for a food business, and the wider list of food codes in NAICS code for food manufacturing. A count of what's on the shelves is in bakery inventory spreadsheet, and prices in how to price baked goods.

Get the sheet

Download the bakery NAICS sheet. Two sheets and a read-me: a row for each thing the bakery does, with last year's sales and the code that fits. It works out each line's share and marks the largest as the primary activity. The second sheet lists nine codes a bakery might use, with their definitions. A made-up bakery is filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

The sum needs sales split three ways: counter to take home, wholesale, and eaten in. A till that rings everything as "bakery" gives one number. The owner ends up estimating the split from memory, which is how the cafe code got picked.

How TaroStack does it

TaroStack doesn't choose a NAICS code or file a form. It keeps what you bake and sell, item by item.

Each delivery comes in as a lot from a named supplier, with the supplier's lot code and its dates. Each recipe lists its ingredients, and each batch records which lots it used, automatically. One report walks any lot to the batches it went into and the customers who got them.

The job A till and a few invoices In TaroStack
What went to wholesale customers Invoices, added by hand Orders by customer and item
What was baked each day A production sheet, thrown away Batches, with the lots each one used
What the flour and butter on hand cost A year-end count Stock value from what you paid
Which code to put on a form The sheet above and the Census definitions Not there

Recipes and batches are on every plan, from $9.99 a month (5 recipes) or $39 a month (50 recipes). The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

What is the NAICS code for a bakery?

311811, Retail Bakeries, for a shop that bakes from flour on the premises and sells bread and pastries to take away. 311812, Commercial Bakeries, for one that manufactures fresh or frozen bread and fresh bakery products.

What is the NAICS code for a bakery cafe?

If the business is primarily preparing and selling bakery products for immediate consumption, 722515, Snack and Nonalcoholic Beverage Bars. If most sales are goods taken home, a retail bakery code fits better.

What is the difference between NAICS 311811 and 311812?

311811 is retailing bakery products made on the premises from flour, not for immediate consumption. 311812 is manufacturing fresh and frozen bread and other fresh bakery products.

What NAICS code is a shop that sells baked goods it doesn't bake?

445291, Baked Goods Retailers: retailing bakery products, not for immediate consumption, made elsewhere.

Sources

  1. U.S. Census Bureau, 2022 NAICS Definition: 3118 Bakeries and Tortilla Manufacturing · read November 28, 2026
  2. U.S. Census Bureau, 2022 NAICS Definition: 311811 Retail Bakeries, with cross-references · read November 28, 2026
  3. U.S. Census Bureau, 2022 NAICS Definition: 311812 Commercial Bakeries, with cross-references · read November 28, 2026

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.