A business activity code is the six-digit number the IRS uses to identify what your business does. It comes from the North American Industry Classification System (NAICS), and every federal business tax return asks for one, whether you file Schedule C as a sole proprietor, Form 1065 as a partnership, or Form 1120 or 1120-S as a corporation. You pick the code that matches your principal source of revenue, and you enter it in the designated field on page 1 of your return.
The code doesn’t change what you owe. It’s a classification tool. But the IRS uses it to sort your return into an industry peer group and compare your numbers against that group, so choosing accurately matters more than it looks.
How to Find Your Code
The simplest place to look is the Principal Business Activity Codes list printed in the instructions for your tax form. The Schedule C instructions include a chart organized by industry category: find your general field, locate the specific activity inside it, and read off the six-digit code. A real estate agent’s office, for example, falls under 531210.1Internal Revenue Service. Instructions for Schedule C (Form 1040) (2025) The same style of list appears in the instructions for Forms 1065, 1120, and 1120-S.
If nothing in the IRS list fits, search the full NAICS database on the Census Bureau’s site. The IRS instructions point taxpayers there when the printed list doesn’t cover a particular line of work.2IRS.gov. Business Activity Codes Pick the most specific six-digit code available rather than a broader parent category.
Choosing the Right Code
If your business does one thing, this part is easy. If you have multiple revenue streams under one roof, you still report only one code, and the rule is straightforward: use the code for the activity that produces the largest percentage of your total receipts. The Form 1065 instructions state this plainly.3IRS.gov. 2025 Instructions for Form 1065 – U.S. Return of Partnership Income The Schedule C instructions use the phrase “principal source of your sales or receipts,” which means the same thing.1Internal Revenue Service. Instructions for Schedule C (Form 1040) (2025)
That means you need bookkeeping that can break out revenue by category at year-end. A common mistake is picking the code that sounds most impressive or broadly applicable instead of the one that matches your actual top revenue source.
If You Run More Than One Business
Sole proprietors with two separate businesses don’t blend them onto one Schedule C. The IRS requires a separate Schedule C for each business, each with its own activity code.4Internal Revenue Service. 2025 Instructions for Schedule C (Form 1040) A freelance graphic designer who also runs an Etsy shop selling handmade goods files two Schedule Cs with two different codes.
Nonprofits With Unrelated Business Income
On Form 990, tax-exempt organizations can select up to two codes for their principal unrelated business activities, listing the largest income-producing activity first. The IRS specifically warns these organizations to choose codes that describe the income-producing activity itself, not codes that describe the organization’s mission.2IRS.gov. Business Activity Codes
Where the Code Goes on Your Return
The location depends on your entity type:
- Sole proprietors and single-member LLCs enter the code on Line B of Schedule C (Form 1040). A single-member domestic LLC that hasn’t elected corporate treatment files Schedule C the same as a sole proprietor.1Internal Revenue Service. Instructions for Schedule C (Form 1040) (2025)
- Partnerships enter the code in Item C on page 1 of Form 1065. Item A on the same page is where you describe the business activity in words.3IRS.gov. 2025 Instructions for Form 1065 – U.S. Return of Partnership Income
- C corporations enter the code on page 1 of Form 1120, in the principal business activity fields at Items 2a through 2c.5Internal Revenue Service. Instructions for Form 1120 (2025)
- S corporations enter the code in Item B on page 1 of Form 1120-S.6Internal Revenue Service. 2025 Instructions for Form 1120-S – U.S. Income Tax Return for an S Corporation
The classification also comes up before your first tax return. When you apply for an Employer Identification Number on Form SS-4, Line 16 asks you to check a box for your principal business activity and Line 17 asks for a written description of your specific line of work. Both entries are mandatory; the IRS won’t issue the EIN without them.7Internal Revenue Service. Instructions for Form SS-4 (Rev. December 2025)
Changing Your Code When the Business Shifts
Businesses pivot. A company that started out doing web design might now earn most of its money from digital marketing. When your primary revenue source moves into a different industry category, you don’t need to file a special form or ask permission. You just enter the code that matches your current principal activity on next year’s return.
A sudden code change can still draw attention. If your return has shown a consulting code for five years and then switches to retail trade, the IRS may look more closely to understand what changed. Make sure the written business description on the return (Line A of Schedule C, Item A on Form 1065) lines up with the new code, and keep records that document when and why your revenue mix shifted.
How the IRS Uses the Code
Once you file, the IRS sorts your return into a peer group based on your code and compares your income, deductions, and margins against the averages for that group. Returns that fall well outside the norms for their group are more likely to be flagged.
Part of the selection process runs on a Discriminant Information Function (DIF) score, a statistical formula that predicts how likely a return is to produce additional tax on examination. The formulas are segmented by activity type, with separate scoring for nonfarm and farm businesses, so your code determines which statistical model your return is measured against.8Internal Revenue Service. Testing The UI-DIF Formulas
Two practical implications. If you pick a code for an industry with typically low expenses and your business legitimately has high costs, your deductions will look abnormal against the wrong benchmark. And if you pick a high-expense industry code hoping to camouflage large deductions, that’s the kind of mismatch the IRS is watching for. The safest approach is to pick the code that honestly describes what your business does.
What Happens If You Get It Wrong
There is no standalone IRS penalty for entering an incorrect business activity code. The code isn’t a line item and doesn’t change your tax. But an inaccurate code can create downstream problems that do carry penalties.
If a mismatched code contributes to an examination and the IRS finds unreported income or disallowed deductions, the accuracy-related penalty is 20% of the underpayment attributable to negligence or disregard of rules.9Internal Revenue Service. Accuracy-Related Penalty The IRS defines “disregard” as carelessly, recklessly, or intentionally ignoring tax rules, and a code that plainly doesn’t match the business description on the same return can support that characterization.
Deduction patterns that are ordinary for your real line of work can look suspicious when measured against the wrong peer group. A construction contractor claiming high vehicle and equipment expenses looks unremarkable among other contractors; the same numbers filed under a professional services code can draw a flag. Picking the right code is a small piece of work that keeps your return from attracting attention it doesn’t deserve.