1/30
Share of a year's foreign development cost deducted in that year
Free tool
A US company now deducts software development performed in the United States in the year it pays for it. Development performed anywhere else, including by contractors, staffing firms, and employer of record staff in Latin America, is still deducted over 15 years, so only one thirtieth of it comes off this year's taxable income.
Enter what a US hire and a Latin American hire cost you and see the deduction you give up this year, what the delay is worth, and the after-tax cost of each.
Section 174 calculator
Defaults compare a backend developer in the US with one in Colombia, at the same rates as the hiring cost calculator, for a profitable C corporation. Change any input and every figure updates.
Section 174 calculator
Describe the role, what each option costs you, and your tax position. Results update as you type and show each step.
The role
New features, enhancements, and testing before release. Bug fixes after release, support, and training are not development and are deducted when paid.
US hire
$170,800 a year per person, the same basis as the hiring cost calculator.
Latin America hire
The whole invoice: a contractor's fee, a staffing firm's monthly charge with its margin, or salary plus employer cost through an employer of record.
Tax position
Counts every development hour as qualified research, so treat the credit as a ceiling.
Deducted this year for the Colombia hire
$15,504
of $68,400 spent. The same spend on development performed in the United States would be deducted in full this year.
| Per year | US | Colombia |
|---|---|---|
| Cost | $170,800 | $68,400 |
| Deducted this year | $170,800 | $15,504 |
| Tax value of all deductions, present value | $32,607 | $8,174 |
| Research credit (present value) | $4,206 | None |
| After-tax cost, present value | $133,987 | $60,226 |
Colombia saves $73,761, or 55 percent, after tax, against 60 percent before tax.
If you keep the same hire every year
| Year | Deducted | Pushed into later years, running total | That total at 21 percent |
|---|---|---|---|
| 1 | $15,504 | $52,896 | $11,108 |
| 2 | $19,152 | $102,144 | $21,450 |
| 3 | $22,800 | $147,744 | $31,026 |
| 5 | $30,096 | $228,000 | $47,880 |
| 10 | $48,336 | $364,800 | $76,608 |
| 15 | $66,576 | $410,400 | $86,184 |
| 16 on | $68,400 | $410,400 | $86,184 |
Each year's spend starts its own 15-year schedule, so the deduction only matches the annual cost again in year 16. Federal income tax only. Planning estimate, not tax advice.
The 2025 change
1/30
Share of a year's foreign development cost deducted in that year
20.3 cents
Federal tax moved out of year one per dollar of foreign development, at 21 percent
8.9 cents
Present value cost per dollar at 21 percent and a 10 percent discount rate
The 2017 tax law changed how companies treat research and experimental spending, and software development with it. For amounts paid or incurred in taxable years beginning after December 31, 2021, nothing could be deducted when paid. The cost went to a capital account and came back over 5 years if the work was done in the United States, or over 15 years if it was done abroad, starting from the middle of the year. Any amount paid in connection with developing software was swept in by name under 26 U.S.C. 174(c)(3).
Section 70302 of Public Law 119-21, signed on July 4, 2025, split the rule in two. A new section 174A lets a company deduct domestic research or experimental expenditures in full in the year they are paid or incurred, for taxable years beginning after December 31, 2024, with an option to amortize them over at least 60 months instead. Section 174 now covers only foreign research or experimental expenditures, which are still capitalized and amortized ratably over 15 years from the midpoint of the taxable year. Software development is a research or experimental expenditure under both sections.
Two more rules make the foreign side heavier than the schedule alone suggests. If the software tied to foreign development is sold, retired, or abandoned before the 15 years run out, there is no write-off of the remainder and the amortization simply continues (section 174(d)). For property disposed of after May 12, 2025, the unamortized amount cannot reduce the amount realized on a sale either. And research conducted outside the United States never qualifies for the federal research credit under 26 U.S.C. 41(d)(4)(F).
The transition relief was domestic only. A calendar-year company could deduct the domestic costs it had capitalized in 2022 through 2024 all in 2025, or across 2025 and 2026, and businesses that met the section 448(c) gross receipts test could apply section 174A back to 2022 on amended returns, an election that closed on July 6, 2026 (Rev. Proc. 2025-28, section 2.06). Foreign costs from those years keep amortizing on their original 15-year schedules.
| Year the cost is paid | Work performed in the US | Work performed outside the US |
|---|---|---|
| 2021 and earlier | Deductible when paid, or amortized over at least 60 months by election | Same as US work |
| 2022 to 2024 | Amortized over 5 years from the middle of the year | Amortized over 15 years from the middle of the year |
| 2025 and later | Deductible in full when paid (section 174A) | Amortized over 15 years from the middle of the year (section 174) |
Who it reaches
IRS Notice 2023-63, interim guidance issued in September 2023 for the 2017 version of section 174, defines foreign research as any research conducted outside the United States, Puerto Rico, or a US territory or possession, and tells taxpayers to look to where the activities are performed to decide which side of the line a cost falls on (sections 3.03 and 3.04). The developer's citizenship, the vendor's headquarters, and your own location are not part of the test.
Work done for you under contract follows the same rule. The notice treats amounts a company pays for research carried out on its behalf as the company's own research expenditures (section 6.03). Its example has Company C paying a US contractor $150,000, a $25,000 fixed sum plus $125,000 to cover the contractor's costs, to develop a product C will use. The whole $150,000 is C's expenditure, the period is 5 years because the contractor did the work in the United States, and, in the notice's words, Company C's location is not relevant (section 6.05). Put the same contractor's team in Bogotá and the same $150,000, margin included, is foreign.
Labor counts whoever employs the person. The notice lists full-time, part-time, and contract employees and independent contractors who perform, supervise, or directly support the work, and every element of their pay except severance, including payroll taxes, benefits, and stock compensation (section 4.03(1)(a)). When the developer works outside the United States, the development share of what you pay is a foreign research expenditure under each of these arrangements:
Development performed in Puerto Rico, Guam, or the US Virgin Islands counts as domestic.
What is amortized
Section 5.03 of the notice lists what counts as software development: planning the software and documenting its requirements, designing it, building a model, writing source code and converting it to machine-readable code, and testing it and fixing the defects testing finds, up to the point the software is placed in service or, for a product, is ready for sale. Upgrades and enhancements count as well, meaning changes that add functionality or materially increase speed or efficiency (section 5.02(2)).
Section 5.05 lists what does not. For software you use in your own business, that is training users, installation, data conversion, and maintenance after the software is in service that adds no functionality, such as debugging and fixing programming errors. For software you sell, it is marketing, distribution such as making the software available through remote access, customer support, and maintenance after release that adds no functionality. Those costs are ordinary business expenses, deductible in the year paid wherever the work is done.
That is why the calculator asks what share of each person's time goes to development. The notice accepts an allocation by the time people actually spend, applied consistently (section 4.03(3)), so sprint tickets labeled as new work or maintenance are the natural record. Your own recruiting, payroll, and accounting staff, who support the developers only indirectly, are general and administrative costs that the notice keeps out (section 4.03(2)(a)).
Worked example
The defaults use the hiring cost calculator's rates: a US backend developer at a $122,000 salary plus 40 percent for employer taxes and benefits, or $170,800 a year, against a backend developer in Colombia at $5,700 a month, or $68,400 a year. Both spend 80 percent of their time on development. The company is a profitable C corporation paying 21 percent, claims the research credit at the 6 percent startup rate on the US developer's qualified wages, and discounts future tax savings at 10 percent. The calculator counts every development hour of the US hire as qualified research, so its credit is the most that hire could earn: the credit's own four-part test in section 41(d) is narrower than section 174.
| One year of spend | US | Colombia |
|---|---|---|
| Annual cost | $170,800 | $68,400 |
| Deducted this year | $170,800 | $15,504 |
| Deducted over the next 15 years | $0 | $52,896 |
| Federal tax saved this year | $35,868 | $3,256 |
| Research credit after the reduced credit election | $4,626 | None: foreign research does not qualify |
| Present value of all tax savings | $36,813 | $8,174 |
| After-tax cost, present value | $133,987 | $60,226 |
The 15-year rule moves $52,896 of the Colombia hire's deductions out of the first year, which means $11,108 of federal tax paid this year that a US-based developer at the same cost would not trigger. Spread back over 15 years and discounted at 10 percent, the delay costs $4,885, or 7.1 percent of the hire's annual cost. Add the $4,626 credit the US hire earns, and the Colombia developer's advantage moves from 60 percent before tax to 55 percent after tax: $73,761 a year in present value.
The same calculation for a backend developer in each market, at the hiring cost calculator's rates and the same assumptions:
| Market | Monthly cost | Deferred tax in year one | Saving before tax | Saving after tax |
|---|---|---|---|---|
| Mexico | $6,120 | $11,927 | 57.0 percent | 51.7 percent |
| Colombia | $5,700 | $11,108 | 60.0 percent | 55.1 percent |
| Argentina | $5,400 | $10,524 | 62.1 percent | 57.4 percent |
| Brazil | $6,000 | $11,693 | 57.8 percent | 52.7 percent |
| Peru | $5,400 | $10,524 | 62.1 percent | 57.4 percent |
| Chile | $5,880 | $11,459 | 58.7 percent | 53.6 percent |
| Costa Rica | $6,000 | $11,693 | 57.8 percent | 52.7 percent |
| Dominican Republic | $5,520 | $10,757 | 61.2 percent | 56.5 percent |
| Guatemala | $5,280 | $10,290 | 62.9 percent | 58.4 percent |
| Ecuador | $5,280 | $10,290 | 62.9 percent | 58.4 percent |
| Uruguay | $6,300 | $12,277 | 55.7 percent | 50.3 percent |
Per $100,000
The cost depends on your tax rate and on what a dollar of tax saved later is worth to you today. At the 21 percent corporate rate, $100,000 of foreign development moves $20,300 of federal tax out of the first year, because only $3,333 of it is deducted. The deductions all arrive eventually, so the real cost is the time value of waiting for them:
| Discount rate | Deductions worth, if domestic | Deductions worth, on the 15-year schedule | Cost of the delay |
|---|---|---|---|
| 5 percent | $20,000 | $14,186 | $5,814 (5.8 percent) |
| 8 percent | $19,444 | $11,539 | $7,905 (7.9 percent) |
| 10 percent | $19,091 | $10,164 | $8,926 (8.9 percent) |
| 15 percent | $18,261 | $7,652 | $10,608 (10.6 percent) |
| 20 percent | $17,500 | $6,000 | $11,500 (11.5 percent) |
Values are the federal tax saved by the deductions, discounted to today, assuming tax is settled at the end of each year. For the owner of a pass-through business taxed at 37 percent, scale every figure by 37/21, or about 1.76. The higher your discount rate, the more the delay costs, because more of the deduction lands in years worth little today.
Over the years
Each year's spending starts its own 15-year schedule, so deductions climb as the layers stack up and only match the annual spend again in year 16. For a team of 5 backend developers in Colombia at the default rates, $342,000 a year with $273,600 of it development:
| Year | Deducted if the work were in the US | Deducted under the 15-year rule | Pushed into later years, running total | That total at 21 percent |
|---|---|---|---|---|
| 1 | $342,000 | $77,520 | $264,480 | $55,541 |
| 2 | $342,000 | $95,760 | $510,720 | $107,251 |
| 3 | $342,000 | $114,000 | $738,720 | $155,131 |
| 5 | $342,000 | $150,480 | $1,140,000 | $239,400 |
| 10 | $342,000 | $241,680 | $1,824,000 | $383,040 |
| 15 | $342,000 | $332,880 | $2,052,000 | $430,920 |
| 16 and after | $342,000 | $342,000 | $2,052,000 | $430,920 |
By year 15 the running total reaches $2,052,000, which is 7.5 years of the team's development spend, and it stays there for as long as the team does. At 21 percent that is $430,920 of federal tax the company has paid early. It comes back as deductions during the 15 years after the team winds down, provided the company is still filing and has income to deduct them against.
Before profitability
A deduction a company cannot use adds to its net operating loss instead of reducing tax. Switch the calculator to Not profitable yet and the year-one tax effect drops to zero; what changes is the size of the loss you carry forward. In the default example the Colombia hire adds $15,504 to the loss instead of $68,400, and the other $52,896 arrives as deductions over the next 15 years. When the company turns profitable, losses from taxable years beginning after 2017 can offset at most 80 percent of taxable income in a year under 26 U.S.C. 172(a)(2).
The research credit can still produce cash before profitability, on the US side only. A qualified small business, meaning gross receipts under $5 million for the year and none before the five-year period ending with it, can elect to apply up to $500,000 of credit a year against payroll taxes: first the employer's share of Social Security tax and then, for taxable years beginning after 2022, the employer's share of Medicare tax (26 U.S.C. 41(h)). The election is made on Form 6765 with a timely filed return and used through Form 8974 on the payroll tax return, as the IRS explains. In the default example that is $5,856 of cash against the US hire's cost, and nothing for the Colombia hire.
A company that claims the credit must either reduce its domestic deduction by the credit or elect a credit reduced by 21 percent (26 U.S.C. 280C(c)). When you choose Not profitable yet, the calculator takes the full credit and reduces the deduction, since that deduction would only have enlarged the loss. When you choose Profitable this year, it models the reduced credit, which nets the same as reducing the deduction at 21 percent and more at higher rates.
Before you sign
Put the 15-year deferral on the foreign side and the research credit on the US side before you compare offers. At the hiring cost calculator's rates, a Latin American backend developer still costs 50 percent to 58 percent less than a US hire after tax, a smaller gap than the invoices suggest.
Location decides the treatment, so ask your vendor to state the country where each person performed the work on invoices or monthly reports. A developer who relocates partway through the year changes the split.
The development share decides how much is amortized. Ticket labels that separate new features and enhancements from production bug fixes and support give your preparer the time-based allocation the IRS guidance accepts.
The calculator covers federal income tax only. Each state decides whether and when to follow sections 174 and 174A, so the state answer for the same costs can differ from the federal one.
The calculator applies the statute and IRS guidance to the figures you enter. It is a planning aid, not tax advice. LavaStaff is not a tax adviser, and the development share and filing positions are decisions for your CPA.
Questions
Yes, when they pay for software development performed outside the United States. Any amount paid in connection with developing software is a research or experimental expenditure (26 U.S.C. 174(c)(3)), and IRS Notice 2023-63 treats amounts a company pays for development done on its behalf as the company's own expenditure, with the period set by where the work is performed. For taxable years beginning after December 31, 2024, development performed in the United States is deductible in full when paid under section 174A, while development performed abroad is amortized over 15 years starting at the middle of the year.
Yes. Foreign research means research conducted outside the United States, Puerto Rico, and US possessions (26 U.S.C. 41(d)(4)(F)), so development performed in Mexico, Colombia, Brazil, Argentina, or anywhere else in Latin America is foreign, whatever the time zone. Puerto Rico and the US territories are the exception, because work performed there is domestic.
Not for this rule. Notice 2023-63 tells taxpayers to look at where the development activity is performed, and its contract research example says the paying company's own location is not relevant. A contractor's fee, a staffing firm's monthly charge including its margin, and an employer of record invoice for an employee who builds your software are treated the same way when the work happens abroad. Only the share of the cost that is development is amortized.
No. Research conducted outside the United States, Puerto Rico, and US possessions is not qualified research for the federal research credit (26 U.S.C. 41(d)(4)(F)). Wages paid to developers working in the United States can qualify, which is why the calculator lets you add the credit to the US side of the comparison.
The deductions keep arriving on the original schedule. If software tied to foreign development is disposed of, retired, or abandoned during the amortization period, no deduction and no reduction to the amount realized is allowed for the unamortized balance, and amortization continues (26 U.S.C. 174(d), for property disposed of, retired, or abandoned after May 12, 2025). Abandoning the code does not speed anything up.
At the rates in the hiring cost calculator, yes, by a wide margin. In the default example, a backend developer in Colombia costs 60 percent less than a US hire before tax and 55 percent less after tax, counting 15-year amortization against the Colombia hire and the research credit for the US hire. Across the 11 markets in the table, the after-tax saving for the same role runs from 50 percent to 58 percent.
Not once the software is in use. For software a company uses in its own business, Notice 2023-63 excludes maintenance after the software is placed in service unless it adds functionality, such as debugging and fixing programming errors. For software it sells, the notice excludes maintenance that adds no functionality, distribution, and customer support after the product is ready for sale. Planning, design, coding, and testing before release count, and so do upgrades that add functionality or materially improve speed or efficiency.
Not in cash this year, because a deduction you cannot use only adds to your net operating loss. It matters later: the loss you carry forward is smaller, and losses from taxable years beginning after 2017 can offset at most 80 percent of taxable income in a later year (26 U.S.C. 172(a)(2)). A qualified small business can still turn the research credit on US wages into cash against payroll taxes, up to $500,000 a year (26 U.S.C. 41(h)).
With amounts paid or incurred in taxable years beginning after December 31, 2021, under the 2017 tax law. From 2022 through 2024 domestic development was amortized too, over 5 years. Public Law 119-21, signed July 4, 2025, restored the immediate deduction for domestic development from 2025 and kept 15 years for foreign development.
Ready To Move
LavaStaff helps you scope, source, vet, and launch nearshore talent that works your hours. Share your role and we will bring you a shortlist of screened candidates, with payroll and compliance handled, directly or through a vetted EOR partner.