Disclosure: This page contains an affiliate link (marked). We may earn a commission at no cost to you. Verdicts are our own.
If you write code for clients as a sole proprietor or single-member LLC, your business expenses go on Schedule C. IRS Publication 334 sets the test: an expense must be ordinary (common and accepted in your field) and necessary (helpful and appropriate for your business). This is the developer cut of our general freelance tax deductions checklist; there are also writer and graphic designer versions.
The short answer
Freelance developers usually write off dev tools and SaaS subscriptions (code hosting, IDEs, AI coding assistants), cloud hosting, API and domain bills, laptops, monitors and test devices, a home office when the rules are met, the business share of internet and phone, courses and conferences that sharpen your current skills, and subcontractors you hire. Building your own software product has its own rule (research and experimental expenditures). Business meals are generally 50% deductible. Commuting is not deductible.
Dev tools, SaaS and AI subscriptions
- Code hosting and collaboration: GitHub, GitLab or Bitbucket plans, issue trackers, CI/CD minutes, error monitoring and logging tools.
- Editors and AI assistants: paid IDE licenses, AI coding assistants and chat subscriptions used for client work. If you also use one for personal projects, deduct the business-use share.
- Security and productivity: password managers, VPNs, backup and team chat used for the business.
- Software bought outright (not a subscription): Publication 946 says off-the-shelf software can qualify for the Section 179 deduction; if you depreciate it instead, it is straight-line over 36 months.
- Payment-processing and marketplace fees taken from what clients pay you.
Cloud hosting, APIs and domains
Servers, databases, storage, serverless and CDN bills, paid API usage (including AI model APIs), staging environments, and domain registrations and renewals for your business are ordinary operating costs for a developer. Two habits make them easy to defend:
- Tag or separate client resources. Use separate projects, accounts or cost tags per client so the bill shows which costs belong to which job.
- Split mixed accounts. If one cloud account also runs your personal blog or side experiments, deduct only the business share and note how you split it.
Laptops, monitors and test devices
Hardware is where developers have the biggest single deductions, and you have three common routes. Whichever you use, deduct only the business-use percentage.
- De minimis safe harbor: Publication 334 lets you elect to deduct tangible property costing up to $2,500 per item or invoice if you don't have an applicable financial statement (most freelancers don't). That often covers a monitor, keyboard, dock, test phone or tablet, or a mid-range laptop. It is an election you have to make; the IRS explains how at IRS.gov/Tangible-Property-Regulations.
- Section 179: lets you expense qualifying equipment in the year you start using it. The dollar caps ($2,500,000 for tax years beginning in 2025 and $2,560,000 for 2026, per Publication 946) are far above what a solo developer spends; your deduction is also limited by your business income.
- Depreciation / special depreciation allowance: Publication 946 lists computers and peripheral equipment as 5-year property. For qualified property acquired and placed in service after January 19, 2025, Publication 946 says the 100% special depreciation allowance (bonus depreciation) is back, so many purchases can still be written off in year one.
Keep a simple business-use log for any machine you also use personally (gaming, family use), and keep the receipt with the date you started using it for work.
Building your own app or SaaS product
If you spend time and money developing your own software (a SaaS product, an app, a paid library), those costs fall under special rules: Rev. Proc. 2025-28 notes that Section 174A treats any amount paid or incurred in connection with the development of any software as a research or experimental expenditure. Publication 334 says that beginning in 2025 you can deduct domestic research and experimental expenditures as current business expenses, or elect to capitalize and amortize them over 60 months or more. Rev. Proc. 2025-28 explains the elections, including retroactive options for earlier years. Costs for foreign research don't get the current deduction. This is one area where a short conversation with a preparer is worth it, especially if you had R&E costs in 2022–2024 or pay overseas developers. How it applies to code you write under contract for clients is a more technical question too.
Subcontractors and other help
- Contractors you hire (other developers, designers, QA testers, copywriters) go on Schedule C line 11 (contract labor). The 2025 instructions use a $600 Form 1099-NEC threshold; Publication 334 says the information-reporting threshold rises to $2,000 for payments made after 2025. Collect a W-9 up front (see our W-9 guide).
- Portfolio site, ads and professional memberships tied to your development work.
- Legal and accounting fees for contracts and bookkeeping.
Courses, certifications and conferences
IRS Topic 513 allows self-employed people to deduct education that maintains or improves skills needed in their current work: a cloud certification course, a security workshop or a new-framework course for a working developer, for example. It does not cover education that is part of a program qualifying you for a new trade or business, so a bootcamp taken to switch careers generally doesn't count. Tuition, books, supplies and certain travel to the course can count. Technical books and paid documentation or video-course subscriptions you use for work are ordinary business costs too.
Overnight trips for clients or developer conferences (airfare, lodging, 50% of qualifying meals) follow Topic 511 and Publication 463. Conventions held outside the North American area have stricter rules, and personal side trips are not deductible.
Home office
You need regular and exclusive use of part of your home as your principal place of business, or as a place where you meet clients (Publication 587). A spare room used only for work qualifies; a corner of the living room the family also uses generally fails the exclusive-use test.
The simplified option is $5 per square foot, up to 300 square feet ($1,500 max), with no depreciation to track. The regular method uses actual expenses (rent or mortgage interest, utilities, insurance) on Form 8829. Compare both in our home office deduction calculator.
Internet and phone
Deduct the business-use share of your home internet and cell phone. If work is, say, 60% of your internet use, deduct 60% and write down how you estimated it. The Schedule C instructions note one quirk: if you use a home landline for business, the base rate of the first phone line into your home isn't deductible, though extra business charges and a dedicated second line are.
Car and mileage
Most developers drive little for work, but trips to client offices, meetups or an equipment store count; driving from home to a regular workplace is commuting. For 2026, the IRS business rates are 72.5¢/mile from Jan 1–Jun 30 and 76¢/mile from Jul 1–Dec 31 (2025: 70¢) per the IRS standard mileage rates page. Our mileage deduction calculator does the math.
Meals and gifts
Business meals with a client or prospect are generally 50% deductible when they aren't lavish and you are present. Entertainment is generally not deductible. Business gifts are limited to $25 per person per year (Publication 463).
Above-the-line items (not on Schedule C profit)
- Half of self-employment tax as an adjustment to income. Estimate it with our self-employment tax calculator.
- Self-employed health insurance premiums for you and your family, subject to profit and eligibility limits (Publication 334).
- Retirement contributions to a Solo 401(k) or SEP IRA: see Solo 401(k) vs SEP IRA.
- Qualified business income (QBI) deduction: up to 20% of qualified business income; Publication 334 notes the 20% QBI deduction was made permanent. Our quarterly tax calculator applies it for simple cases.
Not deductible
Commuting, personal use of equipment or software, entertainment, fines and penalties, and spending on a hobby project without a real profit motive. Repeated losses draw attention; Publication 334 covers profit motive and the excess-business-loss limits.
Records to keep
Keep receipts or invoices plus a one-line business purpose (the client or project name works well for cloud and API bills). Most dev tools email receipts; forward them to one folder. The IRS record-keeping page says to keep records for 3 years in most cases, longer in some situations. Our free expense tracker template works, and deductions lower what you owe each quarter (see quarterly estimated taxes).
Tools that help
If subscriptions and cloud bills are scattered across cards, Keeper (affiliate link) scans your transactions for possible write-offs, and its yearly plans include federal and state filing. Pricing (checked October 21, 2026 on Keeper's pricing page): Bookkeeping Only $20/mo; Standard $199/yr; Premium $399/yr; Business $1,199/yr; 14-day free trial.
FAQ
Can I deduct GitHub, AI coding assistants and cloud hosting?
Yes, when you use them for your development business. Subscriptions and usage-based bills (code hosting, AI assistants, cloud servers, APIs, domains) are business expenses on Schedule C. If you also use a tool personally, deduct only the business-use share.
Can I write off a new laptop in the year I buy it?
Often, yes. If you elect the de minimis safe harbor, you can deduct items costing up to $2,500 per item or invoice (no applicable financial statement). Pricier machines can usually be expensed with Section 179 or the 100% special depreciation allowance instead of being depreciated over 5 years. Business-use share only; see Publication 946.
Are the costs of building my own app or SaaS product deductible right away?
Software development costs are treated as research or experimental expenditures. Publication 334 says that beginning in 2025 you can deduct domestic research and experimental expenditures as current business expenses, or elect to capitalize and amortize them over 60 months or more. Rev. Proc. 2025-28 covers the elections. Ask a preparer before choosing.
Is a coding bootcamp or certification course deductible?
It can be if it maintains or improves skills you need in your current development work, such as a cloud certification course for a working developer. Under IRS Topic 513, education that qualifies you for a new trade or business is not deductible, so a bootcamp taken to switch careers generally fails.
Do I need to file a 1099-NEC for a subcontractor I pay?
Often. The 2025 Schedule C instructions say to file Form 1099-NEC for contract labor of $600 or more during the year. Publication 334 says the information-reporting threshold rises to $2,000 for payments made after 2025. Get a Form W-9 before you pay.