Skip to main content

Do I Need a License to Sell Food Online? A Complete Guide to Food Business Compliance

Author

icon RESOURCE

Opening a Food Business Checklist

So many things go into opening a food business. Use this free PDF checklist to set your new business up for success.

Selling food online has become an increasingly popular entrepreneurial venture, allowing home cooks, bakers, and food artisans to reach customers without the overhead of a traditional storefront. However, with the Centers for Disease Control and Prevention (CDC) estimating that each year approximately 48 million people get sick, 128,000 are hospitalized, and 3,000 die from foodborne diseases, navigating the legal requirements for online food sales is crucial to ensure consumer safety and compliance. This comprehensive guide will help you understand when and what types of licenses you need to legally sell food online.​

The short answer: Yes, you almost always need some form of license

In most jurisdictions across the United States and many other countries, selling food to the public — whether online or in person — requires some form of licensing or permit. These requirements exist to protect public health and ensure food safety by regulating how food is prepared, stored, and distributed.

However, the specific licenses you need will depend on several key factors:

  1. Your location: Country, state, and local regulations determine what permits are required.

  2. The type of food you're selling: Selling baked goods from home may have different requirements than selling perishable or high-risk foods like meat, dairy, or seafood.

  3. Where you're preparing the food: Food prepared in a home kitchen may have cottage food laws, while commercial kitchen operations require stricter licensing.

  4. The scale of your operation: Small-batch, local sellers may have different regulations than large-scale, nationwide businesses.

  5. Where you're shipping your products: Selling within your state is often easier than shipping across state or international borders, which requires additional compliance.

Understanding these factors is essential for determining which licenses apply to your food business.

Understanding the different types of licenses and permits

When selling food online, you may need several licenses and permits to operate legally and ensure compliance with food safety regulations. The exact requirements depend on your location, the type of food you sell, and the scale of your business. Below are the key permits to consider:

Business license or registration

Most jurisdictions require a basic business license or registration to legally operate any business — including food-related ventures. 

What it covers

This officially establishes your business as a legal entity and allows you to:

  • Operate legally within your city or county.

  • Collect and remit sales tax (if applicable).

  • Open a business bank account under your company’s name.

  • File business tax returns and report income properly.

Where to obtain it 

Business licenses are typically issued by your local city or county government and can often be applied for online.

Cost 

Fees vary based on location, but expect to pay between $25 and $500 depending on your state, city, or municipality.

Food handler's permit/food safety certification

Anyone involved in preparing, handling, or packaging food for public consumption is typically required to obtain a food handler's permit or food safety certification. This ensures you understand essential food safety principles and can maintain compliance with local health regulations.

What it covers

  • Proper hand washing and personal hygiene: Prevent contamination through safe handling practices.

  • Safe food temperatures and avoiding cross-contamination: Understand the "danger zone" (40°F–140°F) where bacteria multiply.

  • Allergen awareness and control: Prevent cross-contact and properly labeling allergens.

  • Proper cleaning and sanitization: Ensure food preparation areas and equipment meet safety standards.

How to get certified

  • Most food handler permits require completing a course and passing an exam.

  • Nationally recognized programs include ServSafe (National Restaurant Association), StateFoodSafety, and Learn2Serve.

  • Some states have specific training and certification requirements that must be met.

Cost and validity

  • Costs vary but typically range from $10 to $150, depending on the program and location.

  • Certifications are often valid for 2 to 5 years before renewal is required.

Home kitchen certification/cottage food license

For many food entrepreneurs, starting from a home kitchen is the first step toward building a successful business. Cottage food laws provide a legal framework that allows home-based bakers, cooks, and food artisans to sell low-risk, non-perishable foods while ensuring compliance with health and safety regulations.

Lauren Chew, founder of Love+Chew, started her now-successful cookie business under California’s cottage food laws before scaling to a national brand with distribution in Sprouts, Whole Foods Market, and select Costco locations. Chew shared, "I started baking in my kitchen and applied for a home cottage license. Then I hit the pavement and gave out samples of my cookies to local grocery stores, coffee shops, and even corporate campuses!" Her story highlights how many small food businesses begin with home-based production before expanding to larger markets, and how persistence and strategic growth can turn a cottage food operation into a multi-million dollar business.

If you plan to prepare and sell food from your home kitchen, you’ll need to understand your state’s cottage food laws. These regulations allow home-based food businesses to operate legally while ensuring food safety and compliance with local health codes.

Key cottage food law regulations

  • Allowed foods: Cottage food laws generally permit “non-hazardous” foods that are shelf-stable and don’t require refrigeration, such as baked goods, jams, candies, granola, dried herbs, and spice blends.

  • Restricted foods: Many states prohibit high-moisture, perishable, or temperature-sensitive foods, including meats, dairy-based sauces, fresh salsas, and anything requiring refrigeration.

  • Sales limitations: Many states cap annual sales revenue, typically between $25,000 and $50,000, though limits vary by location.

  • Sales restrictions: Cottage food businesses are often restricted to selling within state borders and may not distribute through third-party retailers like grocery stores.

Certification and inspection process

The application process for a cottage food license varies by state but commonly includes:

  • A home kitchen inspection by a local health department.

  • Completion of a food safety training program (varies by state).

  • Proper labeling requirements: Includes a list of ingredients, allergen disclosures, and a statement indicating the food was made in a home kitchen.

Where to apply

  • Cottage food permits are typically issued at the state or county level through local health departments or agricultural agencies.

  • Check with your state’s Department of Health or Department of Agriculture for specific guidelines.

The Cookie Lady’s Kitchen is a home-based bakery in Texas that started under Texas' cottage food laws, selling cookies and baked goods at farmers markets and directly to customers. Texas does not require a permit or kitchen inspection for cottage food operations, but restricts sales to direct-to-consumer transactions — a model that the business followed while building a strong local customer base. The business later expanded to statewide shipping as laws evolved, demonstrating how home-based food businesses can grow while staying compliant.

RESOURCE

Opening a Food Business Checklist

So many things go into opening a food business. Use this free PDF checklist to set your new business up for success.

Served by Toast

Commercial kitchen requirement

If your food products aren’t covered under cottage food laws or you want to scale beyond sales limitations, you’ll need to operate from a licensed commercial kitchen. These kitchens must meet state and local health department regulations for food preparation, storage, and sanitation.

Options for accessing a commercial kitchen

  • Renting time in an existing restaurant or bakery kitchen: Some restaurants, bakeries, and catering facilities offer their kitchens for rent during off-hours, providing an affordable way to access licensed space.

  • Using a shared commercial kitchen or food incubator: Many cities have co-working kitchen spaces where multiple businesses rent time, giving small-scale producers access to licensed facilities without the high costs of ownership.

  • Building or leasing your own commercial space: If your business has larger production needs, you can lease or build a fully licensed facility, but this requires permits, inspections, and compliance with health department regulations.

Key health and safety regulations

Operating from a commercial kitchen requires compliance with local and state food safety laws, including:

  • Health department inspections to maintain licensing.

  • Proper storage, refrigeration, and cross-contamination prevention.

  • Sanitation protocols to ensure food safety.

  • Food handler or manager certifications for staff.

Where to find a commercial kitchen

  • Local restaurant associations and food business incubators often maintain lists of rentable commercial kitchens.

  • Online platforms like The Kitchen Door help food entrepreneurs find licensed kitchens for rent in their area.

  • Some universities and community centers have licensed kitchens available for small businesses.

Milk Belly Bakery, an Asian-inspired bakery, started in a ghost kitchen in 2022, producing sourdough varieties and Japanese milk bread. Using the ghost kitchen model, the bakery tested demand, built an online following, and fulfilled orders before expanding to a brick-and-mortar storefront with high demand. This growth was only possible through commercial kitchen access, since their products did not qualify under California's cottage food laws.

Food establishment license

If you’re operating from a commercial kitchen, you’ll need a food establishment license issued by your local health department. This license verifies that your facility meets food safety regulations and is subject to regular inspections.

What it involves

  • Facility inspections: Health department officials will inspect your kitchen setup, ensuring compliance with cleanliness, food storage, equipment sanitation, and employee hygiene standards.

  • Food safety plan review: You may need to submit a Hazard Analysis and Critical Control Point (HACCP) plan, detailing how you prevent contamination, maintain proper food temperatures, and handle allergens.

  • Ongoing compliance: Once licensed, you must pass routine health inspections, maintain records, and stay updated on local health codes to keep your permit valid.

Where to apply

  • Local health department websites provide specific application requirements.

  • Some states may require additional state-level food service permits in addition to local licensing.

Cost and renewal

  • Fees typically range from $100 to $1,000, depending on location and business size.

  • Most licenses require annual renewal with periodic inspections.

FDA registration

Under the Food Safety Modernization Act (FSMA), any facility that manufactures, processes, packs, or holds food for human or animal consumption in the United States must register with the Food and Drug Administration (FDA). This requirement ensures that food producers comply with federal safety regulations and allows the FDA to track and inspect food facilities when necessary.

In 2015, Jeni’s Splendid Ice Creams, a well-known artisan ice cream brand, had to recall all its products nationwide due to listeria contamination found in its production facility. The FDA’s inspection found violations in food safety protocols, leading to temporary shutdowns, financial losses, and reputational damage. The company had to revamp its food safety procedures before being allowed to resume operations.

Who needs to register?

Food businesses that operate from commercial kitchens or manufacturing facilities and engage in:

  • Processing or packaging food for wholesale or online sales.

  • Holding or distributing food products for retail or direct-to-consumer shipping.

  • Manufacturing food products beyond those covered by local cottage food laws.

Exemptions

Certain businesses do not need FDA registration, including:

  • Retail food establishments: Businesses that sell primarily to end consumers rather than wholesalers.

  • Restaurants: Establishments preparing and serving food for immediate consumption.

  • Non-profit establishments: Charitable food operations and certain community food programs.

  • Facilities regulated exclusively by the USDA: Businesses handling meat, poultry, and egg products fall under USDA oversight instead of the FDA.

  • Some cottage food operations: Depending on the state’s cottage food laws, small-scale home-based businesses may not require federal registration.

How to register

  • Register online through the FDA Food Facility Registration portal.

  • Renew every two years to maintain compliance.

  • Foreign facilities that export food to the U.S. must also register and designate a U.S. agent.

Cost and compliance

  • FDA registration is free, but failure to register can result in penalties, product holds, or shutdowns.

  • Registered facilities must comply with Good Manufacturing Practices (GMPs) and may be subject to FDA inspections.

Specialized permits

Depending on the type of food products you sell, you may need additional specialized permits to comply with federal, state, and local regulations. These permits help ensure food safety and regulatory compliance for higher-risk products.

Alcohol licenses

If you plan to sell wine, beer, or spirits, you must obtain:

  • A state alcohol license from your local Alcohol Beverage Control (ABC) board.

  • A federal permit from the Alcohol and Tobacco Tax and Trade Bureau (TTB) for production or wholesale sales.

  • Local liquor licenses, depending on state and county laws.

USDA inspection for meat, poultry, or egg products 

Businesses that process or sell meat, poultry, or egg products (beyond basic retail sales) must:

Seafood HACCP (Hazard Analysis Critical Control Point) plan

If you’re selling fresh, frozen, or processed seafood, you must:

  • Develop a Seafood HACCP plan outlining safety measures.

  • Register with the FDA and comply with the Seafood HACCP regulation (21 CFR 123).

Acidified food registration for canned acidified foods 

If selling canned products with low acidity, such as pickles, salsas, or sauces, you must:

Navigating state and local variations

One of the most challenging aspects of food business compliance is the variation in regulations between states and local jurisdictions. While federal food safety laws set broad standards, individual states, counties, and cities may have different requirements for licensing, cottage food operations, and commercial food businesses.

Examples of state-by-state differences

Here are some examples of how requirements can differ by state:

California

California has a two-tier cottage food program allowing direct sales and indirect sales through third parties, with annual sales caps and home kitchen inspections.

New York

New York has more restrictive cottage food laws, limiting sales to specific venues like farmers markets. Prohibits online sales for home-processed foods.

Florida

Florida requires a home kitchen inspection and business license, but offers relatively permissive cottage food regulations with a $250,000 annual sales cap.

Texas

Texas doesn’t require a permit or kitchen inspection for cottage food operations but restricts sales to direct-to-consumer transactions within the state.

Why understanding local regulations is critical

Because regulations vary dramatically by location, it’s essential to:

  • Contact your state’s Department of Agriculture or Health Department for guidance.

  • Check county or city-specific rules, as some local governments impose additional requirements.

  • Understand labeling and sales restrictions, especially if selling across state lines.

Special considerations for online sales

Selling food online introduces unique challenges beyond local production permits. When food is shipped, transported, or sold across multiple jurisdictions, additional federal regulations may apply to ensure food safety, proper labeling, and legal compliance.

Interstate commerce

If you ship food across state lines, your business is classified as engaged in interstate commerce, meaning you must comply with federal regulations, primarily overseen by the FDA (Food and Drug Administration).

Key compliance requirements

FDA registration

Any facility manufacturing, processing, packing, or holding food for interstate commerce must register with the FDA under the Food Safety Modernization Act (FSMA).

Federal labeling laws

Packaged foods must meet FDA labeling requirements, including:

Safe packaging and shipping standards

Food products must be packaged and transported safely to prevent:

  • Spoilage or contamination during transit.

  • Tampering or damage that could compromise food safety.

  • Temperature fluctuations for perishable goods requiring refrigeration or freezing.

Labeling requirements

All packaged food products sold online must comply with FDA labeling regulations to ensure transparency and consumer safety. Labels must include:

  1. Manufacturer’s name and address: Identifies who produced the food.

  2. Product name: Clearly states what the item is.

  3. Complete ingredient list: Listed in descending order by weight.

  4. Major allergen declaration: Required under the Food Allergen Labeling and Consumer Protection Act (FALCPA) for allergens like milk, eggs, nuts, soy, wheat, and shellfish.

  5. Net weight: Measured in both U.S. (imperial) and metric units.

  6. Nutrition facts panel: Required for most packaged foods, unless exempt under small business provisions.

Additional requirements for cottage food operations

Many state cottage food laws require labels to include a disclaimer stating:

  • The food was made in a home kitchen and is not subject to standard FDA or state health inspections.

  • Any allergen risks and storage instructions (if applicable).

Sales tax compliance

Online food sales come with state-specific sales tax obligations. The 2018 Supreme Court ruling in South Dakota v. Wayfair allows states to require online businesses to collect and remit sales tax based on economic nexus, not just physical location. Previously, sellers only needed to collect sales tax in states where they had a physical presence, but now many states enforce tax collection once revenue surpasses a set threshold.

​​Key sales tax considerations

  • Economic nexus laws: If you sell to customers in multiple states, you may be required to collect and file sales tax in those states based on revenue or transaction volume.

  • State-by-state rules: Some states exempt grocery and staple foods from sales tax, while others tax prepared or packaged foods differently.

  • Marketplace facilitator laws: If you sell on platforms like Amazon, Etsy, or Shopify, some states require the platform to collect sales tax on your behalf.

Where to register for sales tax

  • Most businesses must register for a Sales Tax Permit through the state’s Department of Revenue.

  • Tax automation tools (like Avalara or TaxJar) help businesses manage multi-state tax compliance efficiently.

Platform-specific requirements

If you’re selling through third-party platforms like Etsy, Amazon, or food-specific marketplaces, you must comply with platform-specific food business regulations, which may include:

  • Proof of proper licensing: Many platforms require a business license, cottage food permit, or commercial kitchen certification to list food items.

  • Liability insurance requirements: Some marketplaces require food sellers to carry product liability insurance to cover risks.

  • Adherence to platform food safety policies: Sellers must comply with labeling, storage, and shipping requirements to avoid penalties or removal.

Examples of platform-specific rules

  • Amazon: Requires FDA compliance, ingredient disclosures, and food safety documentation for grocery items.

  • Etsy: Allows cottage food sales but requires compliance with state laws and full ingredient labeling.

  • Goldbelly and marketplaces for artisanal foods: Often require food safety certification and proof of commercial kitchen use.

Steps to legally start selling food online

Starting an online food business requires careful planning and compliance with local, state, and federal regulations. Follow these steps to ensure your business operates legally and safely:

1. Research local requirements

Contact your local health department and state department of agriculture to understand licensing, labeling, and food safety requirements for your location and food type. Be sure to find out if additional county or city regulations apply beyond state laws.

2. Determine if you qualify for cottage food laws

If you plan to prepare food in your home kitchen, verify whether your products qualify under state cottage food laws. Identify sales limitations, labeling requirements, and whether online shipping is allowed in your state.

3. Obtain necessary food safety training

Complete a state-approved food handler or manager certification course (e.g., ServSafe, StateFoodSafety, or local programs). Some states may require additional safety training for certain food types (e.g., acidified foods or seafood products).

4. Apply for appropriate licenses and permits

Submit applications for the required business license, food establishment permit, and cottage food certification (if applicable). Be sure to pay any required fees and prepare for potential home kitchen or commercial facility inspections.

5. Develop compliant labels

Proper labeling is essential for regulatory compliance, consumer transparency, and retail distribution, ensuring your products meet both state and federal requirements. Product labels must include:

  • Business name and address

  • Product name and ingredient list (in descending order by weight)

  • Allergen disclosures

  • Net weight

  • Any required state disclaimers for cottage foods

  • Follow FDA labeling guidelines for nutrition facts (if applicable).

6. Secure appropriate insurance

Consider product liability insurance to protect your business from claims related to foodborne illness, allergic reactions, or contamination. Some online marketplaces require proof of insurance before listing food products.

7. Create safe packaging and shipping protocols

Choose packaging that maintains food safety during shipping (e.g., insulated boxes, dry ice, vacuum-sealed containers). Follow FDA and USPS shipping guidelines for perishable and non-perishable foods.

8. Register your business

Obtain necessary business licenses, sales tax permits, and EIN (Employer Identification Number) if applicable. Register with state revenue agencies for tax collection requirements.

9. Maintain records

Keep detailed records of food production, ingredient sourcing, and sales transactions. Some states require batch logs or food safety tracking to demonstrate compliance in case of an inspection.

Consequences of non-compliance

Failing to obtain the necessary licenses and permits for selling food online can result in serious legal and financial consequences. Regulatory agencies enforce strict food safety standards to protect public health, and non-compliance can put your business at risk.

Potential consequences of operating without proper licensing

Operating without proper licensing can lead to significant consequences such as:

  • Fines and penalties: Local health departments or state agencies can issue fines ranging from hundreds to thousands of dollars, depending on the severity of the violation.

  • Forced business closure: Authorities may order a cease-and-desist on your operations until proper licensing and compliance measures are met.

  • Product recalls at your expense: If food safety violations occur (such as mislabeling or contamination), you may be required to recall products, which can be costly and damaging to your brand.

  • Legal liability for foodborne illness: If someone becomes ill from your products, you could face lawsuits, liability claims, and potential criminal charges for operating without proper safety protocols.

  • Difficulty obtaining insurance or future licenses: A history of non-compliance can make it harder to secure product liability insurance and could impact your ability to get future business permits or food-related licenses.

  • Removal from online selling platforms: Marketplaces like Amazon, Etsy, and Goldbelly require food sellers to verify permits — failure to comply can result in suspension or removal from these platforms.

Many unlicensed home-based food sellers have faced fines, cease-and-desist orders, and business shutdowns due to selling food online without the proper permits. In 2020, a California-based tamale seller was fined after being reported for selling homemade tamales on Facebook Marketplace without a cottage food permit. States have cracked down on social media food sales, requiring sellers to obtain proper licensing before advertising food online.

Final thoughts

While navigating the licensing requirements for selling food online can seem overwhelming, these regulations exist to protect public health and ensure food safety standards are met. By obtaining the proper permits and certifications upfront, you not only avoid legal risks but also establish credibility with customers and online marketplaces.

The good news is that many states offer streamlined licensing for small-scale food entrepreneurs through cottage food laws, shared commercial kitchens, and food business incubator programs. These options make it easier than ever to start selling legally, whether you’re making shelf-stable goods from home or scaling to a full-fledged commercial operation.

With careful research, proper licensing, and attention to food safety, you can build a successful and compliant online food business. However, food laws and regulations evolve, so it’s crucial to stay informed by regularly checking with your local health department, food industry associations, and online seller platforms to ensure ongoing compliance.

By prioritizing compliance, safety, and transparency, you’ll not only protect your business but also earn consumer trust and position yourself for long-term success in the online food marketplace.

Is this article helpful?

DISCLAIMER: This information is provided for general informational purposes only, and publication does not constitute an endorsement. Toast does not warrant the accuracy or completeness of any information, text, graphics, links, or other items contained within this content. Toast does not guarantee you will achieve any specific results if you follow any advice herein. It may be advisable for you to consult with a professional such as a lawyer, accountant, or business advisor for advice specific to your situation.

Subscribe to On the line

Sign up to get industry intel, advice, tools, and honest takes from real people tackling their restaurants' greatest challenges.

By submitting, you agree to receive marketing emails from Toast. We’ll handle your info according to our privacy statement. Additional information for California residents available here.