The NAICS code — what the IRS calls the Principal Business Activity Code — sits in the identification block near the top of your business tax return, but the exact line depends on which form you file. On Schedule C and Schedule F it’s Line B. On Form 1065 it goes in the page 1 header. Form 1120-S puts it in Item B on page 1. Form 1120 is the odd one: the code isn’t on page 1 at all, it’s on Schedule K, line 2a. Nonprofits filing Form 990-T enter it in Item C of Schedule A.
Below is where to look on each form, followed by what to do if you don’t know your code, left it blank, or picked the wrong one.
Schedule C: Sole Proprietors and Single-Member LLCs
If you report business income on Schedule C attached to your Form 1040, the six-digit code goes on Line B, labeled “Enter code from instructions.” Line B is in the identification block at the very top of the form, above Part I.1Internal Revenue Service. 2025 Schedule C (Form 1040) The full list of Principal Business Activity codes appears near the back of the Schedule C instructions, organized by industry sector.2Internal Revenue Service. Instructions for Schedule C (Form 1040) (2025)
Running more than one business as a sole proprietor? You file a separate Schedule C for each, each with its own code. The IRS instructions are explicit: “If you owned more than one business, complete a separate Schedule C for each business.”2Internal Revenue Service. Instructions for Schedule C (Form 1040) (2025)
Schedule F: Farmers
If your primary business is farming, you file Schedule F rather than Schedule C. The code still goes on Line B, but the list is different. Schedule F uses 17 principal agricultural activity codes listed in Part IV on page 2 of the form itself. Pick the one that best describes where most of your farm income comes from.3Internal Revenue Service. Instructions for Schedule F (Form 1040) (2025)
Form 1065: Partnerships and Multi-Member LLCs
Partnerships and multi-member LLCs taxed as partnerships file Form 1065.4Internal Revenue Service. About Form 1065, U.S. Return of Partnership Income The Principal Business Activity code goes in the page 1 header, in the field asking for the business activity code, alongside separate fields for the business activity description and the principal product or service. The code list is at the end of the instructions.5Internal Revenue Service. 2025 Instructions for Form 1065 – U.S. Return of Partnership Income
Partnerships report a single code, representing whatever activity brings in the largest share of total receipts.
Form 1120-S: S Corporations
S corporations put the six-digit code on page 1, in Item B, labeled “Business activity code number.”6Internal Revenue Service. 2025 Instructions for Form 1120-S This is simpler than the C corp version of the same form, which is where filers most often get confused.
Form 1120: C Corporations
Here’s the one people get wrong. On Form 1120, Item B on page 1 is for the employer identification number, not the business activity code.7Internal Revenue Service. U.S. Corporation Income Tax Return The NAICS code lives on Schedule K, line 2a, with a description of the business activity on line 2b and the principal product or service on line 2c.8Internal Revenue Service. Instructions for Form 1120 (2025)
If you’re used to filling out Form 1120-S and switch to Form 1120, don’t assume Item B is the same field. It isn’t.
Form 990-T: Tax-Exempt Organizations With Unrelated Business Income
Nonprofits that earn unrelated business taxable income file Form 990-T, and a separate Schedule A (Form 990-T) is required for each distinct unrelated trade or business. The business activity code goes in Item C on that Schedule A.9Internal Revenue Service. 2024 Instructions for Form 990-T
For e-filing, the IRS requires a six-digit entry. Enter the two-digit NAICS sector code followed by four zeros, so retail trade becomes 450000. Organizations with investment-type income that doesn’t fit a standard NAICS category use a separate set of non-NAICS codes listed in the instructions.9Internal Revenue Service. 2024 Instructions for Form 990-T Each unrelated business gets its own Schedule A with its own code.
Picking the Right Code
The IRS wants the code for whatever activity brings in the most money. If your business does several things, use the code for the activity generating the highest share of gross receipts. A web design firm that also resells a small amount of software uses the code for web design services, not software retail.
Start with the Principal Business Activity Code list in the instructions for the specific form you’re filing, not the Census Bureau’s master NAICS directory. The IRS list is based on NAICS but condensed and organized for tax purposes.5Internal Revenue Service. 2025 Instructions for Form 1065 – U.S. Return of Partnership Income The Census Bureau maintains the official NAICS system, but the IRS codes are what actually go on your return.10United States Census Bureau. Economic Census: NAICS Codes and Understanding Industry Classification Systems
The structure narrows as you read. The first two digits identify a broad economic sector (54 for professional and technical services, 44–45 for retail trade). Each additional digit narrows the focus until you reach a six-digit code describing a specific activity. Scan the full list rather than searching for a single keyword, because similar-sounding activities can sit in very different sectors.
If You Left It Blank
A missing code can cause the IRS to treat your return as incomplete. For exempt organizations, the IRS sends a letter requesting the missing information and gives you 10 days to respond with a corrected return and an explanation. Miss that deadline and the date the IRS receives the corrected return becomes your official filing date, which can push you past the original due date and trigger late-filing penalties.11Internal Revenue Service. Exempt Organizations Annual Reporting Requirements – Filing Procedures: Incomplete Returns The same general risk applies to other business returns: a return kicked back for missing information eats into your filing window.
If You Used the Wrong Code
There’s no standalone penalty for picking an inaccurate code. You won’t get a bill from the IRS solely because you used 541511 when 541430 fit better. But the IRS uses your code to compare your reported income and deduction ratios against averages for businesses in the same industry, and significant deviations can flag a return for closer review. A code that badly misdescribes your business creates a mismatch that may draw attention your actual numbers wouldn’t otherwise attract.
If you filed with the wrong code but all dollar amounts were correct, filing an amended return solely to fix the code is generally not worth the effort. The Form 1040-X instructions allow corrections to non-financial information, but the instructions don’t specifically require an amendment just for a NAICS code error.12Internal Revenue Service. Instructions for Form 1040-X Amended U.S. Individual Income Tax Return Use the correct code going forward.
When your business genuinely changes — a software developer pivots to data analytics consulting, a graphic designer shifts primarily to photography — just use the new code on next year’s return. No separate form or notification is required for the switch itself.