Freelance software developer tax deductions (2026)

By Freelance Ledger · Last reviewed October 21, 2026 · How we research

Checked against IRS sources Oct 21, 2026: Publication 334, Publication 587, Publication 946 and Publication 463 (2025 editions, the latest the IRS has posted, plus their "What's New for 2026" notes), the 2025 Schedule C instructions, Rev. Proc. 2025-28, Topic 511, Topic 513 and the 2026 standard mileage rates page. Tax rules change. This is general information, not tax advice.

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

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:

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.

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

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)

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.