Principal Activity of Your Business: IRS Code, Forms, and Section 199A

Your principal business activity is the single activity that produces the largest share of your gross receipts, and you report it to the IRS using a six-digit code from the business-code list in the instructions for your tax form.1Internal Revenue Service. Assessing Industry Codes on the IRS Business Master File If a landscaping company earns 70% of its revenue from service contracts and the rest from selling gardening supplies, the principal activity is landscaping services. The supply sales are secondary, and the code on the return should reflect the landscaping work.

How the IRS Defines It

The test is revenue share, not time spent, headcount, or what the business was originally set up to do. Whichever activity brings in the most gross receipts in the tax year is the principal one.1Internal Revenue Service. Assessing Industry Codes on the IRS Business Master File

That classification does real work on your return. A business classified as an active trade or business can deduct ordinary and necessary expenses like equipment, supplies, wages, and travel.2Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses A business classified as a passive investment faces restrictions on deducting losses. The classification also feeds into self-employment tax exposure and eligibility for specific deductions.

When two activities produce almost identical revenue, the code has no formal tiebreaker. The IRS instructions point back to the principal source of sales or receipts.3Internal Revenue Service. Instructions for Schedule C (Form 1040) If receipts are genuinely equal, the safer move is to choose the code that best reflects where you and your employees spend most of your working time.

Finding Your Six-Digit Code

The federal government classifies every business under the North American Industry Classification System. Your return asks for a six-digit NAICS code. The Schedule C instructions take you through it in two steps: pick the broad category that fits the business, then narrow to the specific activity inside that category.3Internal Revenue Service. Instructions for Schedule C (Form 1040)

The codes are hierarchical. The first two digits identify a broad sector. Code 54, for instance, covers professional, scientific, and technical services. Each additional digit narrows the field. The full NAICS manual includes a code like 541110 for offices of lawyers, but the condensed IRS list in the Schedule C instructions groups legal services under 541100. Use the most specific code available in the IRS list for your form rather than pulling one from the full NAICS manual, since the IRS-condensed list is what matches the agency’s internal benchmarks.

If nothing on the IRS list fits, choose the code that comes closest to your primary revenue source. The instructions direct you to the NAICS website at census.gov when your activity isn’t covered.4Internal Revenue Service. Business Activity Codes Don’t grab a code that just sounds approximately right. The IRS uses these codes to build statistical profiles of what businesses in each industry typically earn and spend, so an inaccurate code makes ordinary deductions look abnormal.

Where to Enter the Code on Each Form

The field moves around depending on how the business is organized, but every entity reports a principal activity code somewhere on page one.

  • Sole proprietors and single-member LLCs enter the code on Line B of Schedule C (Form 1040), with a brief description of what the business does.3Internal Revenue Service. Instructions for Schedule C (Form 1040)
  • Partnerships and multi-member LLCs enter it on page 1, Item C of Form 1065.5Internal Revenue Service. Instructions for Form 1065
  • S corporations enter it on page 1, Item B of Form 1120-S.6Internal Revenue Service. Instructions for Form 1120-S
  • C corporations enter it on page 1 of Form 1120.

Each of these forms also asks for a written description of the principal product or service. Keep it specific. “Consulting” is vague. “Marketing strategy consulting for healthcare companies” tells the IRS exactly what the business does and explains why your expense profile looks the way it does.

Businesses With More Than One Revenue Stream

Most small businesses do more than one thing. A restaurant that also caters events and sells branded merchandise has three revenue streams but reports one principal activity code. The rule holds: whichever activity produces the most gross receipts wins.1Internal Revenue Service. Assessing Industry Codes on the IRS Business Master File

If that restaurant brings in $400,000 from dine-in and takeout, $150,000 from catering, and $50,000 from merchandise, the principal activity is the restaurant operation. The catering and merchandise revenue still gets reported on the same return. The code just reflects where the bulk of the money comes from.

The harder case is a business that genuinely straddles two unrelated industries. Someone running a web development firm who also earns significant income from rental properties is really operating two separate businesses. You may need to file a separate Schedule C for each activity, each with its own code. The IRS expects one code per schedule.

Holding companies and investment-focused entities are a different situation. If the business primarily earns dividends, interest, or capital gains rather than operating income, the principal activity classification should reflect that investment focus rather than any minor operational activity.

Why the Code Matters for Section 199A

Classification has its biggest dollar consequence through Section 199A, which allows a deduction of up to 20% of qualified business income for pass-through entities and sole proprietors.7Office of the Law Revision Counsel. 26 USC 199A – Qualified Business Income Congress made the deduction permanent in 2025, effective for tax years beginning after December 31, 2025.

Businesses classified as specified service trades or businesses face limits. Above certain taxable income thresholds, the deduction phases out entirely for SSTBs. For 2026, those thresholds are approximately $272,300 for single filers and $544,600 for married couples filing jointly.

The SSTB fields include health, law, accounting, actuarial science, performing arts, consulting, athletics, financial services, brokerage, and investing or investment management.8eCFR. 26 CFR 1.199A-5 – Specified Service Trades or Businesses There’s also a catch-all for any business where the principal asset is the reputation or skill of its owners or employees. Engineering and architecture were specifically excluded from the SSTB definition.7Office of the Law Revision Counsel. 26 USC 199A – Qualified Business Income

This is where misclassification bites hardest in both directions. A consulting firm that labels itself a technology company to dodge the SSTB rules can be reclassified by the IRS, lose the deduction, and face penalties on the resulting underpayment. In the other direction, some owners assume they are SSTBs when they are not. An architect who also sells building materials might find that product sales are the majority of gross receipts, making the principal activity retail rather than a service field, and preserving the full 199A deduction.

Rentals and Passive Income

Rental real estate is generally treated as a passive activity regardless of how many hours you put in. Losses from rentals can only offset other passive income, not wages or active business earnings.9Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited That passive classification shapes how you report the activity and which code applies.

Two exceptions change the picture. First, if you qualify as a real estate professional, rental activities can be treated as nonpassive. The threshold is high: more than 750 hours during the tax year in real property trades or businesses where you materially participate, and that time has to represent more than half of all personal services you perform across all your business activities.10Internal Revenue Service. Publication 925 – Passive Activity and At-Risk Rules A full-time employee with a side rental portfolio almost never qualifies.

Second, short-term rentals with average guest stays of 30 days or less may be treated as an active business rather than a rental activity if you provide substantial services. That means hotel-style operations: daily housekeeping, meals, concierge, organized activities. Handing someone a key and collecting rent doesn’t count, no matter how short the stay. When substantial services are provided, the income may also be subject to self-employment tax, which long-term rental income typically avoids.

Changing Your Code When the Business Changes

Businesses evolve. A company that starts building homes might shift to renting completed units, then pivot to selling them. Each of those falls under a different industry code.1Internal Revenue Service. Assessing Industry Codes on the IRS Business Master File When your revenue mix shifts enough that a different activity now generates the majority of gross receipts, the principal activity code should change on the next return.

No separate form or notification is required. You enter the new six-digit code on the next tax return. The IRS expects the code to reflect the business as it exists in the tax year reported, not as it existed years ago. Using the same code for a decade after the business has fundamentally changed direction tells the IRS to benchmark your numbers against an industry you no longer belong to.

The transition year is worth watching. Expense ratios and profit margins may look unusual against the new industry’s benchmarks because the business is mid-pivot. Keeping clear records of the revenue shift and the business reasons behind it gives you a straightforward explanation if questions come up.

What Happens If You Get the Code Wrong

There is no fine for simply entering code 541100 when 541400 would have been more accurate. The real risk is downstream. The IRS uses scoring systems that flag returns where income and deductions fall outside expected ranges for the claimed industry, and a mismatched code can push an otherwise clean return into that flagged category.

If a misclassification leads to an actual underpayment of tax, the consequences become concrete. The accuracy-related penalty under Section 6662 adds 20% to any underpayment caused by negligence or a substantial understatement of income.11Office of the Law Revision Counsel. 26 USC 6662 – Imposition of Accuracy-Related Penalty on Underpayments Classifying a consulting firm as a technology company to claim the Section 199A deduction can easily produce that kind of underpayment.

The defense is reasonable cause and good faith, which in practice means documenting why you chose the code you did. If the business sits on the border between two industries, keep a short note in your tax file showing which activities generated what percentage of revenue and the reasoning behind the code you selected. A contemporaneous record of that kind is what defuses a question before it escalates.