How to Legally Start an Online Business: Entity, EIN, and Compliance

To legally start an online business, you need to choose a liability-shielding business structure, file formation documents with your state, get a federal Employer Identification Number, set up federal and state tax obligations (including sales tax in states where you cross the economic nexus threshold), and bring your website into compliance with federal rules on privacy, advertising disclosures, commercial email, and accessibility. The specific forms and fees vary by entity type and location, but skipping any of these steps can expose you to personal liability, back taxes, or a forced shutdown.

Pick a Business Structure

Your structure decides how you’re taxed and how much personal risk you carry if the business is sued or can’t pay its bills.

If you start selling without filing anything, you’re a sole proprietor by default. There’s no legal separation between you and the business, so your personal bank accounts, home, and other assets are exposed to business debts and lawsuits. It’s the simplest option and the riskiest one once you have real revenue or customer volume.

A limited liability company creates a separate legal entity that sits between your personal assets and business liabilities. Creditors of the LLC can generally reach only what the LLC owns. Members can run the company themselves or bring in outside managers, and formation requires filing Articles of Organization with your state and paying a one-time fee.

A corporation offers the same limited liability but adds formal governance: a board of directors, shareholders, annual meetings, and detailed minutes. Neglecting those formalities can lead to “piercing the corporate veil,” where a court treats the corporation as an alter ego of its owner and lets creditors reach personal assets. Corporations are the conventional choice if you plan to raise outside capital. For most online businesses, an LLC gives you the same liability shield with far less administrative overhead.

File Formation Documents With Your State

LLCs file Articles of Organization; corporations file Articles of Incorporation. Both go to your state’s Secretary of State or equivalent office. The forms ask for your business name, the names of the organizers or incorporators, a brief statement of purpose, and your registered agent information. Filing fees run from about $50 to $500 depending on the state and entity type. Most states process online filings within a few business days; mailed applications can take several weeks.

Check every field before you submit. Errors cause rejections or force you to pay for amendment filings later. Once approved, you’ll receive a stamped copy or certificate, and you can verify your status on the state’s business database.

Registered Agent

Every LLC and corporation must designate a registered agent, meaning a person or service authorized to accept legal documents and government notices for the business. The agent needs a physical street address in the state of registration and must be available during normal business hours. You can be your own agent, but many online owners hire a service to keep their home address off public records and make sure nothing gets missed.

Principal Office Address

Formation documents also require a principal office address, and most states reject filings that list only a P.O. Box. If you run the business from home and want your address off the public record, a virtual office or commercial mail receiving agency usually satisfies the street-address requirement.

Get an EIN From the IRS

An Employer Identification Number is a nine-digit federal tax ID. You need one for any LLC, partnership, or corporation, and sole proprietors often get one anyway to open a business bank account or hire employees.1Internal Revenue Service. Employer Identification Number Form your entity with the state first; the IRS requires the legal entity to exist before you apply.2Internal Revenue Service. Get an Employer Identification Number

The IRS online application issues an EIN immediately. Fax and mail submissions of Form SS-4 take days or weeks. The application asks for the name and Social Security number of a “responsible party” who controls the entity, plus a description of the business activity.1Internal Revenue Service. Employer Identification Number Filing false information on any IRS form signed under penalty of perjury is a federal felony carrying fines up to $100,000 for individuals ($500,000 for corporations) and up to three years in prison.3GovInfo. 26 USC 7206 – Fraud and False Statements

Register a DBA if You Use a Different Name

If you’ll operate under any name other than your own legal name or your entity’s registered name, you need a “Doing Business As” registration, sometimes called a fictitious name or trade name. Fees typically run between $20 and $100, and some jurisdictions require you to publish notice in a local newspaper as part of the process.

Before you commit to a name, search your state’s business entity database and the U.S. Patent and Trademark Office records to make sure nobody else is already using it. A DBA is not a trademark. It lets you legally transact under the name in your jurisdiction, nothing more. Federal trademark protection is a separate filing covered below.

Handle Federal Taxes From Day One

Getting the entity formed and the EIN issued is the structural part. Two tax filings catch new owners off guard.

S-Corporation Election

LLCs and corporations that want to be taxed as S-corporations must file Form 2553 no later than two months and 15 days after the beginning of the tax year in which the election takes effect.4Internal Revenue Service. Instructions for Form 2553 For a business starting January 1, that deadline lands around March 15. Miss it and you either wait until the next tax year or apply for late-election relief, which is not guaranteed.

The election has eligibility limits: no more than 100 shareholders, all U.S. individuals, certain trusts, or estates, no partnership or corporate shareholders, and only one class of stock. The payoff for a profitable business is reduced self-employment tax on a portion of income, which is why it’s popular among online sellers past the early stage.

Quarterly Estimated Taxes

Business owners pay income tax as they earn, not once a year. If you expect to owe $1,000 or more in federal income tax (or $500 or more for a corporation), you must make quarterly estimated payments.5Internal Revenue Service. Estimated Taxes For 2026, payments are due April 15, June 15, September 15, and January 15, 2027. Underpayment penalties accrue automatically regardless of the reason.

Collect Sales Tax Where You Have Nexus

Sales tax is where online businesses face the most complexity and the most exposure. In South Dakota v. Wayfair (2018), the Supreme Court held that states can require businesses to collect sales tax based purely on economic activity in the state, with no physical presence required. Most states adopted the threshold the Court upheld: $100,000 in sales or 200 transactions in the state during the current or prior year.

Once you cross that threshold in a state, you must register for a seller’s permit there and start collecting and remitting tax on taxable sales. Each state sets its own rates, filing frequency, and rules about what’s taxable, and the number of states you owe grows with your sales volume. Automated sales tax software is effectively mandatory for any business selling across state lines. States share data, conduct audits, and assess back taxes with interest and penalties that can bury a small business.

Make Your Website Legally Compliant

Your website itself is regulated. A missing privacy policy or an undisclosed affiliate link can trigger enforcement actions far larger than the revenue the site is generating.

Privacy Policy

If your site collects any personal information (names, email addresses, payment details, and so on), you need a posted privacy policy. Several state laws require one from any commercial website that interacts with their residents, which effectively means every online business with a national customer base needs one. The policy must explain what data you collect, how you use it, and whether you share it. Businesses that sell to customers in the European Union also fall under the General Data Protection Regulation, where violations of core processing principles can result in fines up to €20 million or four percent of global annual revenue, whichever is higher.6GDPR Info. Art. 83 GDPR General Conditions for Imposing Administrative Fines

Terms of Service

No federal law forces you to post a Terms of Service page, but having one gives you a contractual basis to remove abusive users, limit chargebacks, and route disputes to arbitration instead of litigation. It typically covers acceptable use, intellectual property, liability limits, and dispute resolution. Build it before you need it.

FTC Endorsement and Affiliate Disclosures

The Federal Trade Commission requires clear disclosure of any material connection between an endorser and the business being promoted. Under 16 CFR Part 255, paid reviews, affiliate links, and free products in exchange for coverage all trigger a disclosure obligation, and the disclosure must be clear enough that a typical reader would notice and understand it.7eCFR. 16 CFR Part 255 – Guides Concerning Use of Endorsements and Testimonials in Advertising The rule reaches your own site, your social media, and any influencers or affiliates promoting your products.

Commercial Email Under CAN-SPAM

If you send marketing emails, federal law imposes several requirements. Every commercial message must include a working opt-out mechanism that remains active for at least 30 days, and you must honor unsubscribe requests within 10 business days. Every message must include a valid physical postal address and accurate header information, and subject lines cannot mislead about the content. You cannot require the recipient to provide anything beyond an email address or take any step beyond visiting a single web page to opt out.8Office of the Law Revision Counsel. 15 USC 7704 – Other Protections for Users of Commercial Electronic Mail

Children’s Privacy Under COPPA

If your site or app is directed at children under 13, or you have actual knowledge you’re collecting information from a child under 13, the Children’s Online Privacy Protection Rule applies. You must post a detailed privacy notice, obtain verifiable parental consent before collecting any personal information, and give parents a way to review and delete their child’s data.9eCFR. 16 CFR Part 312 – Childrens Online Privacy Protection Rule Acceptable consent methods include signed forms, credit card verification, or knowledge-based authentication. A click-to-agree checkbox does not count.

Website Accessibility

The Department of Justice has consistently taken the position that ADA Title III, which prohibits discrimination by businesses open to the public, applies to websites and other digital services.10U.S. Department of Justice ADA.gov. Guidance on Web Accessibility and the ADA There is no detailed federal regulation setting exact technical standards for private business websites, but the Web Content Accessibility Guidelines (WCAG) Version 2.1, Level AA, are the widely accepted benchmark. ADA-related website lawsuits against e-commerce businesses have risen sharply, and building accessibility in from the start is far cheaper than retrofitting after a demand letter.

Get Any Local and Professional Licenses

Running the business from a laptop at home does not exempt you from local licensing. Many cities and counties require a general business license or home occupation permit, tied to local zoning rules, and fees vary widely. Some professions, including accounting, legal services, and health consulting, also require state-level professional licenses whether services are delivered online or in person. Check with your city clerk and your state’s professional licensing board before you launch.

Protect the Brand With a Federal Trademark

A DBA registration and a domain name do not give you exclusive rights to your business name nationwide. A federal trademark registration through the U.S. Patent and Trademark Office does. You search the USPTO database for conflicting marks, file through the Trademark Center, and work with an assigned examining attorney; if approved, the mark is published for a 30-day opposition period before registration issues.11USPTO. Trademark Process

The base filing fee is $350 per class of goods or services.12USPTO. USPTO Fee Schedule Modest compared to the cost of rebranding if someone else registers your name first. The USPTO does not enforce your trademark for you. Once registered, you monitor and defend it, and you file required maintenance documents to keep the registration active.11USPTO. Trademark Process

Keep the Entity in Good Standing

Filing formation documents is the start, not the end. Every state requires LLCs and corporations to file periodic reports (annual in most states, biennial in some) that update the state on your address, registered agent, and members or officers. Fees range from nothing in a handful of states to several hundred dollars a year. Miss the deadline and the state can administratively dissolve your entity, stripping your liability protection until you go through a reinstatement process.

Beyond state reports, plan for annual federal and state tax returns tied to your entity type, quarterly estimated payments if the business is profitable, and ongoing sales tax returns in every state where you have nexus. Many of these deadlines carry automatic penalties. Calendar reminders, or an accountant who tracks compliance dates, is the unglamorous work that keeps the business alive.