Short answer
The NAICS code for marketing is 541613, Marketing Consulting Services, if you advise clients on marketing strategy, planning, pricing or product launches. If you create campaigns and place ads, including digital and online advertising, use 541810, Advertising Agencies. Public relations is 541820, market research 541910, graphic design 541430, and custom SEO and web design 541511. The SIC code for marketing consulting is 8742; advertising agencies are SIC 7311.
- Advice is 541613; creating and placing campaigns, digital included, is 541810.
- The Census Bureau classifies custom SEO services in 541511, Custom Computer Programming Services, not in a marketing code.
- County Business Patterns counted 52,258 marketing consulting and 15,512 advertising agency establishments with paid employees in 2023.
- For 541810 the SBA measures revenue without funds held in trust for third parties, with a $25.5 million limit.
- On a Schedule C, the IRS codes are broader: 541600 for consulting and 541800 for advertising and PR.
On this page
This page is for marketing agencies, consultants and freelancers choosing a code for SAM.gov, a state vendor registration, a bank or insurance form or a tax return, and for sellers building a list of agencies. An in-house marketing team doesn't get its own code: it takes the code of the company it works for.
The NAICS codes for marketing work
| NAICS 2022 code | Official title | What it covers |
|---|---|---|
| 541613 | Marketing Consulting Services | Advice and help on marketing issues: objectives and policies, sales forecasting, new product development and pricing, franchise planning, marketing planning and strategy, sales and customer service management. |
| 541810 | Advertising Agencies | Creating campaigns and placing them in print, digital, radio, TV or other media, with the full range of agency services (advice, creative, account management, production, media planning and buying). The index lists digital, internet and online advertising agencies here. |
| 541820 | Public Relations Agencies | Designing and running PR campaigns; includes lobbying and political consulting. |
| 541910 | Marketing Research and Public Opinion Polling | Gathering and presenting market and opinion data: surveys, audience measurement, internet traffic research, polling. |
| 541430 | Graphic Design Services | Visual communication, logos and brand identity, packaging and advertising design, without other agency services. |
| 541511 | Custom Computer Programming Services | Includes custom search engine optimization (SEO) services and custom web page design. |
How to choose between them
Ask what the client pays you for. If it's a plan, a recommendation or a strategy they carry out, it's consulting (541613). If it's a campaign you produce and run in media, it's an agency (541810), whether the media is a newspaper or a paid social platform. If it's code, a website or custom SEO, the Census Bureau puts it in programming (541511).
| If you mainly... | Use |
|---|---|
| Advise on marketing strategy, positioning, pricing or launches | 541613 |
| Advise on sales management or customer service management | 541613 |
| Create and run ad campaigns, including paid search, paid social and display | 541810 |
| Buy media time or space and resell it | 541830, Media Buying Agencies |
| Run PR, media relations or lobbying | 541820 |
| Design and send direct mail campaigns | 541860, Direct Mail Advertising |
| Run surveys, focus groups or audience research | 541910 |
| Design logos, brand identities or graphics only | 541430 |
| Do custom SEO or build websites | 541511 |
| Run outbound calling or telemarketing on contract | 561422, Telemarketing Bureaus and Other Contact Centers |
| Distribute promotional products, or do sign lettering and in-store demos | 541890, Other Services Related to Advertising |
| Sell billboard or transit advertising | 541850, Indoor and Outdoor Display Advertising |
| Operate an ad server or real-time bidding marketplace for clients | 518210, Computing Infrastructure Providers, Data Processing, Web Hosting |
"Digital marketing" has no code of its own, so split it by the work. A digital agency whose revenue is mostly managing paid campaigns is 541810; one that mostly sells strategy is 541613; one that mostly sells SEO and websites is 541511. Social media management and content marketing aren't in the Census index; we'd code them by the same test. Use the activity that earns the most as the primary code and list the others where a form allows several. SAM.gov does, and federal buyers set one code per contract, so the extra codes decide which solicitations you see.
SIC codes for marketing
There is no single SIC code for marketing. The one most forms want is 8742, Management Consulting Services, for marketing consultants, or 7311, Advertising Agencies, for agencies. From the Census concordance:
| SIC 1987 | NAICS 2022 codes it maps to |
|---|---|
| 8742 Management Consulting Services | 541611, 541612, 541613, 541614, 561312 |
| 7311 Advertising Agencies | 541810 |
| 7319 Advertising, NEC | 541830, 541850, 541870, 541890, 481219 |
| 8743 Public Relations Services | 541820 |
| 8732 Commercial Economic, Sociological, and Educational Research | 541910, 541720 |
| 7331 Direct Mail Advertising Services | 541860 |
| 7336 Commercial Art and Graphic Design | 541430 |
SIC 8742 is the trap: a list built on it is mostly general management consultants (541611 alone has 104,494 establishments) with HR consultants and executive recruiters mixed in. Use the NAICS to SIC converter for other codes.
How many marketing businesses there are
County Business Patterns (CBP) 2023, establishments with paid employees:
| NAICS code | Establishments | Employees | Annual payroll |
|---|---|---|---|
| 541613 Marketing consulting | 52,258 | 315,229 | $26.2 billion |
| 541810 Advertising agencies | 15,512 | 200,465 | $21.4 billion |
| 541430 Graphic design | 15,828 | 49,266 | $3.2 billion |
| 541820 Public relations | 8,646 | 60,066 | $7.2 billion |
| 541890 Other advertising services | 7,395 | 97,046 | $4.6 billion |
| 541910 Market research and polling | 4,401 | 78,424 | $8.2 billion |
| Employees per location | 541613 Marketing consulting | 541810 Advertising agencies |
|---|---|---|
| Fewer than 5 | 43,696 (83.6%) | 10,572 (68.2%) |
| 5 to 9 | 3,740 | 1,859 |
| 10 to 19 | 2,269 | 1,300 |
| 20 to 49 | 1,632 | 1,000 |
| 50 to 99 | 560 | 389 |
| 100 or more | 361 | 392 |
Marketing consultancies are mostly very small: about six employees per location on average, against about 13 at advertising agencies, and agency payroll works out at about $107,000 per employee against $83,000 (our calculations from the table). The top states for marketing consulting are California (9,390), Florida (6,745), Texas (3,719), New York (3,447) and Georgia (1,956). For advertising agencies they're California (2,462), New York (1,610), Florida (1,367), Texas (1,264) and Illinois (655), though New York's agencies employ more people (45,266) than California's (32,122).
CBP counts locations with paid staff, so solo consultants and freelancers aren't in these numbers. CBP 2023 uses NAICS 2017; none of these codes changed in 2022.
SBA size standards
From the SBA's Table of Size Standards, effective March 17, 2023 (13 CFR 121.201 on the eCFR shows no later change), in average annual receipts:
| NAICS code | Size standard |
|---|---|
| 541613 Marketing consulting | $19.0 million |
| 541810 Advertising agencies | $25.5 million |
| 541820 Public relations | $19.0 million |
| 541830 Media buying | $32.5 million |
| 541860 Direct mail | $22.0 million |
| 541910 Market research | $22.5 million |
| 541430 Graphic design | $9.0 million |
| 541511 Custom programming (including SEO) | $34.0 million |
A footnote changes the arithmetic for agencies: for 541810, revenue is measured excluding "funds received in trust for an unaffiliated third party," with commissions counted as revenue. An agency that passes large media budgets through to publishers can be small under 541810 at a gross billing level that would otherwise be far over the line.
Where the code is used
- Federal and state contracts. Marketing work is often bought under 541613 or 541810. Register both if you do both, because the contracting officer's code decides your size status for that contract, and any interested party can appeal a solicitation's code to the SBA's Office of Hearings and Appeals within 10 days.
- Tax returns. The IRS list is coarser than NAICS: 541600 covers all management, scientific and technical consulting, 541800 covers advertising, public relations and related services, 541910 market research, and 541510 computer systems design. A marketing consultant's Schedule C uses 541600, not 541613.
- Insurance. Professional liability for strategy advice and for running ad spend are different risks, so describe the work that earns the most.
Finding marketing companies by code
On EDGAR, agencies file under SIC 7311 and 7310, and direct mail under 7331. 7310 is mostly ad platforms and marketplaces such as Angi and Thryv rather than agencies, and 8742 is led by management consultants such as Booz Allen Hamilton, so check each company's business description.
| Company | EDGAR SIC | Headquarters | Revenue, 2025 10-K |
|---|---|---|---|
| Omnicom Group | 7311 | New York, NY | $17.27 billion |
| Stagwell | 7311 | New York, NY | $2.91 billion |
| Harte Hanks | 7331 | Chelmsford, MA | $159.6 million |
Public holding companies are a small slice; almost all of the 52,258 consultancies and 15,512 agencies in CBP are private. The list of marketing agencies covers where to find them (association directories, award entries, client case studies). A Bebop search can describe the agencies you want, such as "B2B paid media agencies with 10 to 50 staff in Chicago", and return the firms and decision makers with the reason each fits.
Worked example: coding a digital agency
Illustrative example. The agency and figures are invented.
Northbeam Creative (northbeam.example) earned $900,000 in fees last year: $450,000 for building and running paid search and social campaigns, $350,000 for strategy retainers and $100,000 for SEO. It also passed $1.5 million of client media spend through to the platforms.
- Primary code. Campaign work is the largest fee line (50%), so the primary code is 541810.
- Extra codes. It adds 541613 for strategy and 541511 for SEO in SAM.gov.
- Size. If the media money is held for clients and passed to the platforms, the SBA measures 541810 revenue without it: $900,000 a year, far under $25.5 million. Even as a 541613 bidder, where no such footnote applies, it's well under $19.0 million.
- Tax return. Its Schedule C or corporate return uses the IRS code 541800, Advertising, public relations and related services.
Next step: if you sell to agencies rather than run one, read lead generation for marketing agencies for how agencies buy and how to reach them.
Sources
- 2022 NAICS definition: 541613 Marketing Consulting Services, US Census Bureau, accessed 30 October 2026
- 2022 NAICS definition: 541810 Advertising Agencies, US Census Bureau, accessed 30 October 2026
- 2022 NAICS definition: 541890 Other Services Related to Advertising (SEO cross-reference), US Census Bureau, accessed 30 October 2026
- NAICS concordances (1987 SIC to 2002 NAICS, through 2017 to 2022 NAICS), US Census Bureau, accessed 30 October 2026
- County Business Patterns: 2023, US Census Bureau, accessed 30 October 2026
- Table of Size Standards (effective March 17, 2023), US Small Business Administration, accessed 30 October 2026
- 13 CFR 121.201, What size standards has SBA identified by NAICS codes? (footnote 10), Electronic Code of Federal Regulations, accessed 30 October 2026
- 2025 Instructions for Schedule C (Form 1040): Principal Business or Professional Activity Codes, Internal Revenue Service, accessed 30 October 2026
- Omnicom Group Form 10-K, fiscal year 2025, US Securities and Exchange Commission (EDGAR), 20 February 2026
- Stagwell Inc. Form 10-K, fiscal year 2025, US Securities and Exchange Commission (EDGAR), 13 March 2026
- Harte Hanks Form 10-K, fiscal year 2025, US Securities and Exchange Commission (EDGAR), 17 March 2026
Written by the Bebop team at Blackpearl Group. Published .
Questions people ask
What is the NAICS code for marketing?
It depends on the work. Marketing strategy and planning advice is 541613, Marketing Consulting Services. Creating and placing ad campaigns, in any media, is 541810, Advertising Agencies. Public relations is 541820, market research 541910 and graphic design 541430. Use the code for the activity that brings in the most revenue as your primary code, and list the others where a form allows.
What is the NAICS code for digital marketing?
There's no separate digital marketing code. An agency that creates and runs paid digital campaigns is 541810, Advertising Agencies; the Census index lists digital, internet and online advertising agencies there. Digital strategy consulting is 541613. Custom SEO and web design are 541511, Custom Computer Programming Services. Pick the one that matches most of your revenue.
What is the NAICS code for marketing consulting?
541613, Marketing Consulting Services: advice on marketing objectives, sales forecasting, new product development and pricing, franchise planning, and marketing strategy. County Business Patterns counted 52,258 establishments with paid employees in 2023, 83.6% of them with fewer than five employees. The SBA's size standard is $19.0 million in average annual receipts. The SIC code is 8742.
What is the SIC code for marketing?
SIC has no single marketing code. Marketing consultants use 8742, Management Consulting Services, which also covers general management, HR and logistics consulting. Advertising agencies are 7311, public relations firms 8743, market research firms 8732 and direct mail firms 7331. On SEC EDGAR, agencies appear under 7311 and 7310, so a list built from either code needs checking company by company.
What NAICS code should an SEO agency use?
The Census Bureau classifies custom search engine optimization services in 541511, Custom Computer Programming Services, and says so in a cross-reference from the advertising codes. Custom web design is there too. If SEO is a minor part of a wider campaign business, the agency's primary code is still 541810 or 541613, with 541511 added as a secondary code.