FirstHR

How to Do Payroll Yourself: Steps, Risks, and Deadlines

Doing payroll yourself is legal at a few employees. The accounts to open first, gross pay, withholding, the deposit schedule, and when to stop.

Nick Anisimov

Nick Anisimov

FirstHR Founder

Payroll•
•
15 min

How to Do Payroll Yourself

Running your own payroll is legal, cheap, and entirely reasonable at a handful of employees in one state. Here is the setup that has to exist before the first payday, the arithmetic you do by hand, the deposit and filing calendar that carries the real risk, and the honest list of moments when doing it yourself stops paying for itself

I ran my own payroll for about eighteen months. Two employees, one state, a spreadsheet I built myself, and a calendar with six dates on it. It worked, it cost nothing in fees, and I would tell a founder in the same position to do the same thing. I would also tell them when to stop, because I left it six months too late and paid for the privilege.

Doing payroll yourself is legal. Nothing in federal law requires software, a service, or an accountant, and the IRS has no opinion about who did the arithmetic as long as the numbers are right and the money arrives on the correct day. What catches people out is never the calculation. It is the gap between paying your people, which feels like the end of the job, and remitting the tax you withheld, which happens weeks later with nothing in your day to remind you.

This is the walkthrough for an employer without an HR department: the accounts that must exist before the first payday, the arithmetic, the deposit schedule the IRS assigns you without asking, the filings, what you keep, and the point where doing this yourself stops being worth it. I build the people and records tooling at FirstHR, an onboarding and HR platform rather than a payroll provider, so nothing here is a pitch for a payroll product. This is general information, not tax or legal advice.

TL;DR
Running payroll yourself is legal at a few employees in one state. Get an employer identification number, state accounts, and electronic tax payments six weeks out. Each run: gross pay, pre-tax deductions, W-4 withholding, then 6.2 percent Social Security to $184,500 and 1.45 percent Medicare, both employer-matched. Deposit on the IRS schedule, file Form 941 quarterly, keep records four years.

Can You Legally Do Payroll Yourself?

Yes, and there is no threshold, license, or approval involved. No federal statute requires an employer to use payroll software or a payroll service, and no state conditions your right to employ people on outsourcing the paperwork. The obligations attach to the outcome rather than to the method.

Definition
Doing payroll yourself
Performing every part of the payroll function inside the business rather than buying it: calculating gross and net pay, withholding federal, state, and local taxes, paying employees, remitting the withheld money plus the employer share of employment taxes to each agency on its own schedule, filing the quarterly and annual returns, and retaining the records. The legal liability sits with the employer whether or not the work is outsourced, which is why outsourcing moves the labor and not the exposure.

People assume a provider makes them safe because it feels like handing over responsibility, and it does not. If a provider misses a deposit, the notice arrives addressed to your business, and the trust fund penalty regime reaches the individuals inside it. Software buys accuracy and reminders, not indemnity.

What you are really choosing is where the deadline discipline lives. A payroll system holds the calendar and updates the tax tables every January; doing it yourself makes both jobs on your own list.

What You Need Before the First Run

Five things have to exist before you can legally pay anyone, and two of them run on an agency's timetable rather than yours. The right moment to start is when you decide to hire, not the week the person arrives.

Federal employer identification number
Start it: Six weeks outFree, applied for online, issued in the same session. The only item here that finishes in fifteen minutes, which is why people assume the rest is equally quick.
State withholding and unemployment accounts
Start it: Six weeks outOne set per state where an employee physically works. Some states issue a number in a day. Others take weeks and will not backdate it.
Electronic federal tax payment enrollment
Start it: Four weeks outFederal deposits must travel by electronic funds transfer. Enrollment involves a mailed confirmation, so it runs in days rather than minutes.
Signed Form W-4 and completed Form I-9
Start it: Before day oneThe W-4 drives every withholding calculation you will run for that person. The I-9 has a hard three business day deadline from the start date.
State new hire report
Start it: Within twenty days of the start dateEvery state runs a new hire directory. It takes minutes, most owners have never heard of it, and it carries a penalty.
The two amber rows wreck first-payday timelines, because they run on an agency's clock rather than yours.
What you needWho issues itRealistic lead timeWithout it
Employer identification numberIRS, free, onlineSame sessionYou cannot register anywhere else or file anything
State withholding accountState revenue departmentOne day to several weeksYou withhold state tax with nowhere to send it
State unemployment accountState workforce agencyOne day to several weeksUnpaid state tax accrues with interest
Electronic federal tax paymentsFederal payment systemDays, plus a mailed confirmationFederal deposits cannot legally be made
Signed Form W-4The employee, on hireMinutes, if you ask on day oneYou withhold at the default single rate
Completed Form I-9You and the employeeThree business days from the start dateA per-form penalty you cannot argue away later

The federal number is the easy one. It is free, the online application issues it immediately, and the constraints are that the responsible party needs a valid taxpayer identification number and that you can obtain one per responsible party per day (IRS).

The state layer is where first paydays slip, because you need accounts in every state where an employee physically works rather than where your headquarters sits.

The One Nobody Has Heard Of
Every state operates a new hire directory and expects a report on each person you add to payroll. Under 42 U.S.C. 653a the federal outside deadline is twenty days after the date of hire, and a number of states set a shorter one. It takes a few minutes, it is not connected to your tax registrations, and almost no first-time employer knows it exists until a notice explains it. Put it on the same checklist as the W-4 and the I-9 so it happens during onboarding rather than never.

The reason this stage goes wrong is that it is a set of separate applications to separate agencies, each returning a number you will need later and none of them chasing you. Track it as one sheet with a date and a confirmation number against every line, and add a row to the second tab for every state where somebody physically works.

First Payroll Setup Tracker
ABCDEFG
1ItemOwnerDate startedReference, account, or confirmation numberDate confirmed in writingWhere the confirmation is storedDone
2Employer identification number applied for
3Electronic federal tax payment enrollment started
4Mailed enrollment confirmation received and activated
5Deposit schedule determined from the lookback period
6Current year employer tax guide saved locally
7Current year withholding methods publication saved locally
8Pay frequency chosen and checked against state pay timing rules
9State new hire reporting portal identified, with a named filer
10Twelve months of deposit dates entered on the business calendar
11Six federal filing dates entered on the business calendar
12Payroll register export location chosen, off the laptop
13
14NoteThe two rows that run on an agency clock are the enrollment rows. Start them six weeks out.

The Toolkit You Actually Need

Four things: the current IRS employer tax guide, the current withholding methods publication, a spreadsheet you trust, and a calendar with every deposit and filing date entered before you owe anything.

Publication 15 carries the rates, the deposit rules, and the retention expectations in one place (Internal Revenue Service). Its companion, Publication 15-T, carries the withholding methods and the tables you compute from, and it changes materially every January (IRS withholding methods). Working from last year's copy is the most common self-inflicted error in manual payroll.

The spreadsheet matters less than people think: one tab per pay period computing gross, deductions, withholding, and net, with a running year-to-date column that tells you when somebody crosses the Social Security wage base. The calendar is the part that actually keeps you compliant, and the part people build last or not at all. Enter twelve months of deposit dates and six federal filing dates on the day you set up, before a single deposit is owed.

Still Using Spreadsheets for Onboarding?
Automate documents, training assignments, task management, and track onboarding progress in real time.
See How It Works

Calculating Gross Pay

Gross pay is everything the employee earned for the period before a single deduction, and every other number depends on it. For salaried staff it is annual salary divided by the number of pay periods. For hourly staff it is hours actually worked at the agreed rate, plus overtime, plus bonuses, commissions, tips, retroactive adjustments, and taxable fringe benefits.

Overtime is the wrinkle that catches new employers. For non-exempt employees, federal law requires one and a half times the regular rate above forty hours in a workweek, and the regular rate is not the hourly wage. It absorbs non-discretionary bonuses, shift differentials, and commissions earned that week, spread back across the hours worked.

Then, before any tax calculation, subtract pre-tax deductions. The ordering is not cosmetic: a Section 125 health premium reduces the base for income tax and for Social Security and Medicare, while a traditional retirement contribution reduces the income tax base but not the other.

Hourly Payroll, Week by Week

Hourly payroll is the same sequence of calculations with one extra constraint: overtime is settled per workweek and never per pay period. Federal rules at 29 CFR 778.105 define the workweek as a fixed, regularly recurring period of 168 hours, seven consecutive 24-hour periods, and it may begin on any day and hour you pick as long as it then stays put.

That constraint bites hardest on a semimonthly schedule, where a period ends mid-week and a single workweek lands across two runs. Total the hours by workweek first, apply overtime to each week that went past forty, and only then add the weeks together for the period. Summing first and applying overtime to the total underpays people.

Rounding recorded time is permitted, with a condition attached. Federal wage and hour rules at 29 CFR 785.48 accept time computed to the nearest five minutes, tenth of an hour, or quarter hour, provided the practice averages out over time and does not consistently favor the business. A rounding rule that trims at clock-in and rounds up at clock-out fails that test however small each adjustment looks.

Federal Income Tax Withholding by Hand

Federal income tax withholding is a calculation, not a percentage. It depends on the employee's W-4, your pay frequency, and the current year's tables, and it produces a different answer for every person even when two of them earn the same amount.

1
Start from the W-4 you actually hold
Filing status, the multiple jobs checkbox, dependent amounts, other income, other deductions, and any extra withholding requested. With no signed W-4 you withhold at the default single rate rather than guessing at what the person would have chosen.
2
Compute the adjusted wage amount
Gross pay for the period, less pre-tax deductions, then the W-4 adjustments for other income and other deductions applied on the annualized basis the instructions describe. This is the figure the tables are read against, and it is rarely the same as gross.
3
Read the tentative withholding from the current tables
Use the percentage method or the wage bracket method from the current withholding methods publication, matched to your pay frequency and the employee's filing status. Both are acceptable and they give slightly different answers, so pick one and stay with it.
4
Apply the credit and extra withholding lines
Subtract the dependent tax credit amount derived from the W-4, then add any additional per-period amount the employee asked for. Additional withholding goes on at the end, after the credits, not blended into the calculation.
5
Repeat for state and local tax
Most states run their own withholding certificate and their own tables, a few have no income tax at all, and some cities and counties add another layer. This is a per-state exercise and the rules do not rhyme with the federal ones.

Two habits make this survivable. Rebuild the calculation from the new tables every January rather than carrying last year's formulas forward, and spot-check one employee by hand against the published example each time you update, so a broken cell reference surfaces immediately instead of in October. Supplemental wages follow their own path: the flat method applies at 22 percent up to $1 million and 37 percent above that.

FICA, and the Taxes You Pay on Top

Social Security and Medicare are the easy arithmetic and the expensive surprise. You withhold 6.2 percent for Social Security on wages up to the annual wage base, which the IRS puts at $184,500 for 2026, and 1.45 percent for Medicare with no cap at all (IRS Topic No. 751). Then you match both out of the business.

Where $1,000 of gross wages goes, using 2026 federal rates and an illustrative withholding amount.
Reaches the employee
$838.50What is left after $62.00 of Social Security, $14.50 of Medicare, and $85.00 of federal income tax. State tax and benefit deductions come out of this too.
Held in trust, not yours
$161.50Withheld income tax plus the employee half of Social Security and Medicare. It sits in your bank account and belongs to the employee.
Costs you on top
$82.50Your matching $62.00 and $14.50, plus $6.00 of federal unemployment tax inside the first $7,000 of wages. State unemployment is extra.
A thousand dollars of gross wages costs the business $1,082.50, and only $838.50 of it becomes somebody's pay.

Above $200,000 of wages in a calendar year you also withhold an additional 0.9 percent of Medicare tax, and the IRS is explicit that there is no employer match for it. You withhold it on wages you paid that person, without regard to filing status or a spouse's income.

$184,500
Social Security wage base for 2026, at 6.2 percent from each side
$7,000
wages per employee per year subject to federal unemployment tax
$50,000
lookback threshold separating monthly from semiweekly depositors
4 years
minimum retention for employment tax records

Two unemployment taxes sit on top of the match, and employees never see either on a pay stub. Federal unemployment tax runs at 6.0 percent on the first $7,000 of wages paid to each employee, reduced by a credit of up to 5.4 percent when state contributions are paid on time, which brings the effective rate to 0.6 percent, or $42 a year per employee, for most employers (IRS Topic No. 759).

State unemployment tax is the variable one. Each state sets its own wage base and assigns you an experience rate that moves as claims are made against your account, so two identical businesses in neighboring states can pay very different amounts.

Depositing the Money on the Schedule You Were Assigned

You do not choose your deposit schedule. The IRS assigns it from a lookback period, the four quarters running from July 1 of the second preceding calendar year through June 30 of the preceding one (IRS Topic No. 757). Report $50,000 or less of employment tax across that window and you are a monthly depositor. Report more and you are semiweekly all of the following year.

Your situationWhen the deposit is dueHow you end up here
Monthly schedule depositorBy the fifteenth of the following monthYou reported $50,000 or less in the lookback period
Semiweekly, payday Wednesday to FridayBy the following WednesdayYou reported more than $50,000 in the lookback period
Semiweekly, payday Saturday to TuesdayBy the following FridaySame threshold, other half of the week
Anyone accumulating $100,000 in a dayNext business day, semiweekly thereafterOne large run can trigger it with no warning letter
New employer with no lookback historyMonthly, by the fifteenthThere is nothing to look back at yet
Federal unemployment taxQuarterly, once undeposited tax passes $500It accrues slowly and rolls forward until it crosses

All federal tax deposits have to travel by electronic funds transfer, so writing a check is not an option regardless of how small the amount is. That is why enrollment belongs in the six-week setup window rather than the week of your first payday.

The $100,000 rule ambushes growing businesses because it does not wait for the year to turn over. Accumulate that much liability on any single day and the deposit is due the next business day, and you are a semiweekly depositor for the rest of that year and all of the next. A single bonus run can do it.

Check the Deposits Yourself, Every Quarter
Whoever runs your payroll, log in and confirm that the federal deposits actually landed. It takes a few minutes a quarter in your business tax account, and it is the single habit that separates employers who recover from a payroll problem from employers who discover one two years deep. Depositing and filing are penalised separately, so a flawless return filed on the deadline tells you nothing about whether the money arrived on time.

The Quarterly and Annual Filings

Six federal deadlines a year, plus a state layer that varies. Four of the six are Form 941, and the other two land on January 31 along with everything else in your year-end.

FilingWhat it coversWhen it is due
Form 941Withheld income tax plus both halves of FICA, quarterlyApril 30, July 31, October 31, January 31
Form 940Federal unemployment tax for the calendar yearJanuary 31, or February 10 if every deposit was timely
Form W-2 to each employeeAnnual wage and tax statementJanuary 31
Form W-3 with W-2 copiesTransmittal to the Social Security AdministrationJanuary 31
Form 1099-NECPayments to contractors, not employeesJanuary 31
State withholding returnState income tax withheld from wagesMonthly, quarterly, or annually, set by your state
State unemployment wage reportWages and contributions per employeeQuarterly in most states, end of the following month

Each base deadline shifts to the next business day when it falls on a weekend or a federal holiday, which is why copying last year's reminders forward produces at least one miss. Form 941 carries a quiet reward too: the IRS instructions let you file by the tenth day of the second month after the quarter ends if every deposit was made on time and in full (IRS).

One threshold matters more than it used to. Per the IRS, filing ten or more information returns in aggregate across all types, counting W-2s and 1099s together, means they must be filed electronically. An employer with six employees and four contractors has already crossed it, so the paper route usually is not available.

The 1099-NEC reporting threshold itself has moved. According to the IRS instructions for Forms 1099-MISC and 1099-NEC, you file for a nonemployee you paid $2,000 or more in a calendar year, for payments made on or after January 1, 2026, up from $600 previously. The figure may be adjusted for inflation beginning in 2027, and a state may still apply a lower one.

January is where doing payroll yourself feels heaviest, because year-end reconciliation, W-2s, 1099s, Form 940, and the fourth-quarter Form 941 all arrive together. Reconcile the four quarterly returns against your W-2 totals before filing anything.

Companies Using FirstHR Onboard 3x Faster
Join hundreds of small businesses who transformed their new hire experience.
See It in Action

What You Have to Keep, and for How Long

Two retention rules apply at the same time and they do not agree, so satisfy the longer one. The IRS asks for at least four years of employment tax records. Federal wage and hour rules ask for at least three years of payroll records and two years of the supporting material behind them.

The wage and hour side is specific. Payroll records, certificates, agreements, and employment contracts have to be preserved for at least three years (29 CFR 516.5), while time cards, wage rate tables, and the working papers behind additions to or deductions from wages carry their own two-year requirement (29 CFR 516.6). The summary outlives the raw material it was built from.

Form I-9 runs on a third clock, kept for three years after the hire date or one year after employment ends, whichever is later, and it should live separately from the personnel file so that an inspection of I-9s does not become an inspection of everything else.

Doing payroll by hand, the payroll register for each run is the document everything else reconciles against, and it needs to outlive the spreadsheet it came from. Export it, date it, and store it off the laptop you build the runs on.

What Doing It Yourself Actually Costs

Payroll software is not free and neither is doing it yourself. The difference is that one cost arrives as an invoice you can see and the other arrives as hours you do not measure plus a penalty risk you cannot price.

Start with the hours. A clean run for two or three salaried employees in one state takes fifteen to twenty minutes once the spreadsheet exists. Hourly staff add timesheet review and overtime arithmetic. A benefit deduction adds a monthly reconciliation against the insurer's invoice. Then add a deposit every month, a return every quarter, and a year-end that costs most owners the better part of a weekend.

Then price the risk rather than assuming it away. Late deposits are penalised on a sliding scale that rises with the delay, late returns separately as a percentage of unpaid tax per month, and states add their own on top. A single missed quarterly deposit can cost more than a year of software, and the calculation is uncomfortable precisely because the penalty is a probability while the fee is a certainty.

What you eventually pay for is not arithmetic, because your spreadsheet does arithmetic. You are buying tax table maintenance, deadline memory, and the year-end forms.

When Doing It Yourself Stops Being Worth It

There is a point where the arithmetic flips, and it is more predictable than it feels from the inside. Five triggers, any one of which is enough on its own, and none of which are about how confident you feel.

An employee in a second state is the sharpest. It is not an increment but a step change: a new registration, a new withholding regime, a new unemployment account and rate, new deadlines, new returns. Remote hiring means most small employers meet this earlier than planned.

Your first hourly employee is the second, because salaried-only payroll is genuinely simple while hourly payroll brings timekeeping, overtime on the regular rate, and state rules about rounding, breaks, and pay stubs. A benefit deduction or a garnishment order is the third, since both mean handling somebody else's money under rules you have to get right. The fourth is plain volume: around eight to ten employees the year-end stops being a weekend job.

The fifth is the economic test, and it is the one to apply. If a full cycle, including the deposit and the record, takes more than about half an hour of your own time a period, the fee is already cheaper than you are. Treat a single missed deadline as the trigger rather than as bad luck, because the second miss is a pattern and the pattern is expensive.

What worked for me
What made doing it myself survivable was not a better spreadsheet. It was writing the deposit dates and the filing dates into the same calendar as everything else in the business, in a color I had not used for anything, twelve months ahead, before I owed a single dollar. Payroll dates had lived in a separate note nobody opened. Once they sat next to customer calls and board dates they stopped being work I could forget about and became appointments. The run was never the hard part. Remembering that the run was not the end of the job was.
Key Takeaways
Doing payroll yourself is legal: no law requires software or a service, and the obligations attach to the result rather than to who did the work.
Start the setup six weeks out, because the employer identification number is instant but state accounts and payment enrollment run on an agency clock.
Order matters in every run: gross pay, pre-tax deductions, federal withholding from the W-4, Social Security and Medicare, state tax, post-tax deductions.
Social Security is 6.2 percent each side up to $184,500 for 2026, Medicare is 1.45 percent each side uncapped, and 0.9 percent above $200,000 is not matched.
The IRS assigns your deposit schedule from a lookback period at a $50,000 threshold, and $100,000 in one day overrides it the next business day.
Stop at the second state, the first hourly employee, the first garnishment, roughly ten employees, or half an hour a period of your own time.

Frequently Asked Questions

Can I legally do payroll myself without software?

Yes. No federal law requires an employer to use payroll software, a payroll service, or an accountant. The obligations attach to the result rather than the method: withholding has to be correct, deposits have to arrive on the assigned schedule by electronic funds transfer, and returns have to be filed on time. A spreadsheet and a calendar satisfy all three if you maintain them. What changes when you do it by hand is not your legal position but your margin for error. Software updates the tax tables in January, remembers the deposit dates, and produces the year-end forms. Doing it yourself makes all three jobs on your own list, and those are the jobs that carry penalties.

What do I need before I can run payroll for the first time?

Five things, and two of them run on someone else’s timetable. A federal employer identification number, which is free and issued online in one session. State withholding and unemployment accounts in every state where an employee physically works, which can take days or weeks. Enrollment for electronic federal tax payments, which involves a mailed confirmation. A signed Form W-4 and a completed Form I-9 for each person, with the I-9 due within three business days of the start date. And a state new hire report, generally within twenty days. Start the state registrations about six weeks before your first payday rather than the week of it.

How do I calculate payroll taxes by hand?

Work in a fixed order, because each step feeds the next. Start with gross pay for the period. Subtract pre-tax deductions, since a Section 125 health premium reduces the base for income tax and for Social Security and Medicare, while a traditional retirement contribution reduces the income tax base only. Compute federal income tax from the employee’s W-4 using the current IRS withholding methods, which is a table and formula lookup rather than a flat percentage. Then apply 6.2 percent for Social Security up to the annual wage base and 1.45 percent for Medicare with no cap, adding 0.9 percent above $200,000. Add state tax, subtract post-tax deductions, and what remains is net pay.

How often do I have to deposit payroll taxes?

The IRS assigns you a schedule rather than letting you pick one. It looks at the employment tax you reported during a lookback period, the four quarters running from July 1 of the second preceding calendar year through June 30 of the preceding one. Report $50,000 or less and you are a monthly schedule depositor, depositing by the fifteenth day of the following month. Report more and you are a semiweekly depositor, depositing by the following Wednesday for Wednesday, Thursday, or Friday paydays and by the following Friday for Saturday, Sunday, Monday, or Tuesday paydays. One rule overrides both: accumulate $100,000 of liability on a single day and the deposit is due the next business day.

What forms do I have to file if I run payroll myself?

Form 941 goes in four times a year, by April 30, July 31, October 31, and January 31, reporting withheld income tax plus both halves of Social Security and Medicare. Form 940 reports federal unemployment tax once a year and is due January 31. Forms W-2 go to employees and Form W-3 with the W-2 copies goes to the Social Security Administration, both by January 31. If you paid contractors, Form 1099-NEC is also due January 31. On top of that sit the state filings: a withholding return on a schedule your state sets, and a quarterly unemployment wage report in most states, carrying their own separate penalties.

How long do I have to keep payroll records?

Two rules apply at once and you should satisfy the longer one. The IRS asks you to keep all records of employment taxes for at least four years after the tax becomes due or is paid, whichever is later. Federal wage and hour rules ask for at least three years of payroll records, certificates, agreements, and employment contracts, plus two years of supporting material such as time cards, wage rate tables, and the calculations behind additions to or deductions from wages. Form I-9 runs on its own clock: three years after the hire date or one year after employment ends, whichever is later. Keeping everything four years, with I-9s stored separately, is the simplest rule.

What is the biggest risk of doing payroll yourself?

Not arithmetic. Withheld income tax and the employee half of Social Security and Medicare are trust fund money, held on the employee’s behalf rather than owned by the business, and a separate penalty regime lets the IRS pursue the individuals who were responsible for remitting it and did not. That is the one corner of payroll where being incorporated does not put a wall between the company and the owner. The practical version is much more ordinary: the business has a tight month, the tax money is sitting in the account, and the deposit slips. Deposits are also penalised separately from filings, so a perfect return filed on the deadline protects you from nothing on the money.

When should I stop doing payroll myself?

The honest triggers are structural rather than emotional. An employee in a second state, because that is a whole new registration, rate, deadline, and return rather than an increment. A first hourly employee, because overtime is computed on the regular rate and not the base hourly wage, and the two diverge the moment a non-discretionary bonus lands in the week. A first benefit deduction or a court-ordered garnishment, both of which add rules you have to get right on someone else’s behalf. Headcount around ten, where year-end paperwork alone eats a weekend. And the economic test: once a run and its deposit take more than half an hour of your own time, the fee is cheaper than you are.

Ready to transform your onboarding?

7-day free trial No credit card required
Start Your Free Trial