Hire Nile Guide: Section 174 and Offshore Developers, and What a Team in Egypt Costs a US Company After Tax
A US company can again deduct software development done in the United States in the year it pays for it, but development done in Egypt or anywhere else abroad is still deducted over 15 years under Section 174. For a profitable company that means paying tax sooner than it would with a US-based team, and for a startup with its engineering offshore it can turn a breakeven year into a tax bill. Assistants, support staff and most implementation work fall outside the rule.
A US company that pays software developers in Egypt deducts that cost over 15 years, not in the year it pays it. Since the 2025 tax law, software development done in the United States is deductible right away again, while development done anywhere outside the United States must still be capitalized and amortized over 15 years under Section 174 of the Internal Revenue Code, starting at the midpoint of the tax year.
For a profitable C corporation at the 21% federal rate, a $36,000 year of a senior developer in Egypt produces a first-year deduction of $1,200, worth $252 in federal tax. The same $36,000 spent on development in the United States would be worth $7,560 that year. The rest of the Egypt deduction arrives over the next 15 years, so the rule costs time rather than money in total, and Egypt stays far cheaper after tax. Where it bites is a company whose engineering is almost all offshore: in a year that breaks even in the accounts, it can owe federal tax as if most of its development spend had not happened.
What the 2025 law changed, and what it left alone
The 2017 tax law (Public Law 115-97) rewrote Section 174 for tax years beginning after December 31, 2021. From then on, research and experimental expenditures had to be capitalized, and a new subsection made "any amount paid or incurred in connection with the development of any software" one of them. Domestic costs were amortized over 5 years and foreign costs over 15. Software companies lost the option to deduct development costs as they went.
Public Law 119-21, signed on July 4, 2025, split the rule in two. Its section 70302 added Section 174A, which allows a deduction for domestic research or experimental expenditures in the year they are paid or incurred, with an election to amortize them over at least 60 months instead. It narrowed Section 174 to foreign research or experimental expenditures and kept those on the 15-year schedule. Both changes apply to amounts paid or incurred in tax years beginning after December 31, 2024, so for a calendar-year company 2025 was the first year of the split.
The same section gave relief for domestic costs capitalized in 2022 to 2024: an election to deduct the remaining balance in full in the first tax year beginning after 2024 or over two years, and for eligible small businesses an election to apply the new rule back to 2022. None of that reaches foreign costs. Payments to developers in Egypt in 2022, 2023 and 2024 keep running down their original 15-year schedules. For property disposed of, retired or abandoned after May 12, 2025, Section 174(d) also rules out any deduction or "reduction to amount realized" for the unamortized foreign amount. If you sell or scrap the software, the schedule carries on.
Where the work is done decides it
The IRS's working guidance is Notice 2023-63, issued on September 8, 2023 and modified by Notice 2024-12. It defines foreign research as "any research conducted outside the United States, the Commonwealth of Puerto Rico, or any U.S. territory or other possession of the United States," and says taxpayers "must look to where the SRE activities ... are performed." (SRE stands for specified research or experimental.) Neither the payer's location nor the legal form of the arrangement changes the answer. In the notice's contract research example, the domestic period applied "because the research is performed by Company D in the United States," and "Company C's location is not relevant."
Applied to the usual ways of adding developers in Egypt:
- A developer you pay directly as an independent contractor. Section 4.03(1)(a) of the notice counts the labor costs of "independent contractors who perform, supervise, or directly support SRE activities," and the work happens in Egypt. Form W-8BEN settles withholding and reporting on those payments, as our contractor compliance checker sets out; Section 174 settles when you deduct them.
- A developer employed in Egypt by an employer of record or a managed staffing provider who works on your product under your direction, the model described in our dedicated development team guide. The notice applies the regulation on research done for you by others, which it summarizes as covering work "carried on by another person or organization ... on behalf of the taxpayer, provided that such expenditures are made at the taxpayer's order and risk." In its example, the whole payment to the contractor, fixed fee included, was the payer's research expenditure.
- Your own Egyptian subsidiary that employs the engineers and bills the US parent a service fee, as covered in our guide to setting up a company in Egypt. The work is still performed in Egypt.
- A US-incorporated agency whose developers sit in Cairo. Where the agency is incorporated does not matter.
- A US employee who moves to Cairo and keeps coding. Their work from Egypt is foreign research.
A fixed-price contract in which the provider guarantees a working result and absorbs the loss if it fails can come out differently. Section 6 of the notice gives a provider that bears that financial risk research expenditures of its own, and the regulation's "order and risk" wording turns on who carries the risk. Staffing and managed arrangements that bill by the month leave it with the client. If you have an outcome-guaranteed contract, ask your adviser how it reads.
Which roles count, and which do not
The rule reaches research and software development, not everyone you hire abroad. Section 5.03 of the notice lists what counts as software development: planning, "including identification and documentation of the software requirements"; designing; building a model; writing source code; and testing, with fixes for defects found in testing, up to the point the software is placed in service or, for software you sell or license, ready for sale. Upgrades and enhancements count as well, defined as changes that add functionality or "materially increase speed or efficiency of the software."
Section 5.05 lists what does not count. For software you use in your own business, that means training users, data conversion, installation, and maintenance after release "that do not give rise to upgrades and enhancements (for example, corrective maintenance to debug, diagnose, and fix programming errors)." For software you sell or license, it covers the work after the software is ready for sale: marketing, maintenance that adds nothing, "distribution activities (for example, making the software available via remote access)" and customer support.
Mapped onto the roles companies fill in Egypt:
- Developers building new features or upgrades are inside the rule. Hours spent fixing production bugs without adding functionality are outside it.
- QA engineers testing before release, or testing an upgrade, are inside. Testing that is part of fixing a bug after release goes with the maintenance exclusion.
- Product managers who write requirements and designers who design the software are inside, and so is anyone who supervises or directly supports the developers.
- Implementation specialists who set up software you bought are outside. Section 5.04 excludes "the configuration of pre-coded parameters" and the planning, testing and deployment around it. Custom code that adds functionality to that software is inside.
- DevOps engineers are split: installing software and placing it in service is excluded, while writing new internal tooling is software development.
- Support agents, assistants who run a founder's inbox and calendar, recruiters, bookkeepers and data entry staff are outside. Section 4.03(2)(a) excludes the costs of general and administrative functions that "only indirectly support or benefit SRE activities," and section 5.05 excludes data conversion.
Mixed roles are split by allocation. The notice requires costs to be allocated "on the basis of a cause-and-effect relationship" or another reasonable relationship, and its own example accepts the share of time spent (section 4.03(3)). For a developer who spends 70% of the year on new features and 30% on production fixes, 70% of the cost is a foreign research expenditure. Ticket or timesheet data that separates the two is what makes that split hold up.
One developer, year by year
Amortization starts at the midpoint of the tax year, which the notice defines as "the first day of the seventh month of the taxable year." A calendar-year company therefore deducts one-thirtieth of a year's foreign spend in that year, one-fifteenth in each of the next 14 years, and the final thirtieth in year 16.
Take the published Senior Full-Time plan for Hire Nile Managed Staffing, $3,000 a month, or $36,000 for 2026, for a developer who spends the whole year on new product work:
- 2026: $1,200 deducted, worth $252 at the 21% federal corporate rate.
- 2027 to 2040: $2,400 deducted each year, worth $504 a year.
- 2041: the final $1,200.
Had the same $36,000 paid for development in the United States, all of it would come off 2026 taxable income, worth $7,560 in federal tax. The first-year difference is $7,308. The total deduction is $36,000 either way; what the rule costs is time. Discounted at 8% a year, the 16 deductions are worth $21,364 today, about 59% of the spend, so the delay costs about $3,070 in present value, or 8.5% of what you paid. At a 5% discount rate the cost is 6.1% of the spend; at 10% it is 9.8%.
Against a US hire, the scale does not change. The Bureau of Labor Statistics puts the median annual wage for US software developers at $135,980 in May 2025, before payroll taxes and benefits. Deducted in full, that wage costs a profitable C corporation $107,424 after federal tax. The Egypt developer costs $35,748 after federal tax in 2026 cash, and about $31,500 in present value once the later deductions are counted. If foreign development were deductible at once, the yearly after-tax gap between the two would be about $79,000; under the 15-year rule it is about $75,900.
A small team: a breakeven year with a tax bill
The timing cost becomes a cash problem when most of the engineering sits abroad. Take a US software company with this 2026:
- Revenue: $900,000.
- US salaries for founders and sales staff who do no development: $450,000.
- Hosting, software and marketing: $210,000.
- Five senior developers in Egypt at $36,000 each: $180,000.
The accounts show a profit of $60,000. The federal return shows more. Only $6,000 of the $180,000 paid for the Egypt team is deductible in 2026, so taxable income is $234,000 and tax at 21% is $49,140. With the same five developers in the United States at the same cost, taxable income would be $60,000 and the tax $12,600.
Losses carried forward from earlier years soften this without removing it. For losses that arose in tax years beginning after 2017, Section 172(a)(2) caps the deduction at 80% of taxable income, so a company with large carryforwards would still owe tax on $46,800 of income: $9,828, against $2,520 for the US-based version.
The gap closes slowly while the team stays the same size. At $180,000 a year, the annual deduction climbs by $12,000 a year: $6,000 in 2026, $18,000 in 2027, $30,000 in 2028, and the full $180,000 only in 2041. At the end of 2030, $750,000 already paid to the Egypt team will still be waiting to be deducted, which is $157,500 of federal tax paid ahead of a US-based team. From the end of 2040 the undeducted balance holds at $1.35 million for as long as the spending continues, and a growing team pushes it higher.
For calendar-year corporations, the fourth installment of 2026 estimated tax is due on December 15, 2026. A company that has been estimating its 2026 tax with offshore development deducted as an ordinary expense should recalculate before that payment.
The research credit stops at the border
The federal research credit has its own exclusion. Section 41(d)(4)(F) removes "any research conducted outside the United States, the Commonwealth of Puerto Rico, or any possession of the United States" from qualified research, so work done in Egypt earns no credit. It also cannot feed the payroll tax election young companies use. A qualified small business, with gross receipts under $5 million and none before the five-year period ending with the current year, can apply up to $250,000 of research credit a year against payroll taxes, increased by a further $250,000 for tax years beginning after December 31, 2022. A startup that counts on that offset loses it on every development seat it moves abroad.
If you have been expensing offshore developers
A company that books offshore developers as contract labor and deducts the invoices as it pays them is using a method the rules do not allow for software development done abroad. Section 4.04 of Notice 2023-63 says these expenditures "may not be treated as ordinary and necessary expenses under § 162." Moving to the 15-year schedule is a change in accounting method, made on Form 3115.
In September 2026 the IRS issued Rev. Proc. 2026-32, which applies to Forms 3115 filed after September 4, 2026. For foreign research costs it removed the limit that had confined the automatic method change to tax years beginning before January 1, 2026, switched off two eligibility rules for changes in tax years beginning before 2028, and allowed the automatic change even when the old method was used for only one year. It still points taxpayers to the interim guidance in Notice 2023-63, as modified by Notice 2024-12, for what counts. The filing itself is for your preparer. For a hiring decision, what matters is that the fix runs through the automatic procedure rather than a request for the IRS's individual consent.
UK companies face a similar restriction
The UK reached a similar result by a different route. For accounting periods beginning on or after 1 April 2024, the merged R&D expenditure credit scheme and enhanced R&D intensive support replaced the old schemes, with restrictions on claiming for "some expenditure incurred overseas."
HMRC's manual excludes spending on externally provided workers "whose earnings are not subject wholly or in part to UK PAYE" and contractor payments for R&D carried out overseas, unless the R&D needs conditions that are absent from the UK and "it would be wholly unreasonable for the company to replicate in the UK." Conditions that relate to the cost of the R&D or the availability of workers are disregarded. A UK company paying for developers in Egypt through a contractor or a provider should not expect R&D relief on those payments; the merged scheme's credit rate is 20%.
What it means for the hiring decision
- Egypt stays much cheaper after tax. In the single-developer example the rule moves the after-tax gap by about $3,000 a year on a gap of roughly $76,000.
- The cost is cash timing, and it lands hardest on companies that are profitable or close to it. A company with years of losses ahead feels it later, when the capitalized costs are still waiting to be deducted against its first profits.
- Only development work is affected. Assistants, support agents, bookkeepers and implementation staff who configure purchased software are deducted under the normal rules.
- The records you keep decide the split for mixed roles. Agree how time on new work and on production fixes is logged before the year ends, not when the return is due.
- Budget the tax line. The offshore hiring business case builder and the team cost calculator do not model the timing of US income tax deductions, so for a profitable company add the first-year difference for development seats to the plan.
Questions to take to your tax adviser
None of this is advice for your return. The numbers above are illustrations, and how the rules apply to your contracts is your adviser's call. Start with these:
- What share of each offshore role is software development under sections 4 and 5 of Notice 2023-63, and how will we document it?
- Did earlier returns deduct foreign software development as an ordinary expense, and do we need a Form 3115 under Rev. Proc. 2026-32?
- Does our December 15 estimated tax payment reflect the 15-year schedule?
- Is any development contract fixed-price with a guaranteed result, and does that change who has the research expenditure?
- How does our state treat research costs?
- Is our research credit computed on US work only, and does the payroll tax election still pay off?
- If we have a UK company, does its R&D claim include overseas contractors or externally provided workers?
How Hire Nile fits
Hire Nile recruits Egyptian developers, QA engineers, implementation specialists, support staff and assistants for teams in North America, Europe and the Gulf. Managed Staffing combines recruiting, onboarding and a support layer around each role after launch, with payroll and compliance coordination on managed plans and monthly pricing; the published plans include $1,497 a month for a full-time hire with three to four years of experience and $3,000 a month for a senior full-time hire.
Direct Placement is a one-time recruiting fee: we source and vet the hire, and you run management, payroll and retention yourself. For developer roles, see hire Egyptian developers. To compare pay by role, use the Egypt offshore salary calculator, and the pricing page sets out how the plans are structured.
If you are planning development seats now, start hiring with a short brief and we will introduce vetted Egyptian engineers. If you want to work out which roles to place in Egypt first, book a meeting.
Sources
Checked on 21 November 2026. The dollar figures in the examples are calculated from the rules cited here; they are illustrations, not figures from any company's return.
- 26 U.S.C. § 174, Amortization of research and experimental expenditures (Cornell LII): subsections (a) to (d) as amended by Public Law 119-21, section 70302(b)(1), July 4, 2025, and the effective dates in the amendment notes.
- 26 U.S.C. § 174A, Domestic research or experimental expenditures (Cornell LII): the deduction, the 60-month election, the definition that excludes foreign research, and the transition rules of Public Law 119-21, section 70302(e) and (f), set out in the notes.
- 26 U.S.C. § 41, Credit for increasing research activities (Cornell LII): subsection (d)(4)(F) and the payroll tax election in subsection (h).
- 26 U.S.C. § 172, Net operating loss deduction (Cornell LII): the 80% limit in subsection (a)(2).
- 26 U.S.C. § 11, Tax imposed (Cornell LII): the 21% corporate rate in subsection (b).
- IRS, Notice 2023-63, guidance on amortization of specified research or experimental expenditures under Section 174: sections 2.01, 3.03 to 3.05, 4.03, 4.04, 5.02 to 5.05 and 6.02 to 6.05.
- IRS, Notice 2024-12, clarifications and modification to Notice 2023-63: section 2.03 (issue date of Notice 2023-63) and the research provider rules.
- IRS, Rev. Proc. 2026-32: sections 2.02, 2.04, 2.05(3)(e), 3.04, 3.05 and 6 (Forms 3115 filed after September 4, 2026).
- IRS, Fourth quarter tax calendar: the December 15, 2026 installment of estimated tax for corporations.
- US Bureau of Labor Statistics, Occupational Outlook Handbook, Software Developers, Quality Assurance Analysts, and Testers (last modified August 27, 2026): median annual wage for software developers, May 2025.
- HMRC, Research and Development tax relief: the merged R&D expenditure credit scheme and enhanced R&D intensive support (updated 8 January 2026): start date, overseas restrictions and the 20% rate.
- HMRC, Corporate Intangibles Research and Development Manual, CIRD150500, overseas restrictions: overview (updated 29 October 2026).
- Hire Nile Managed Staffing plans as published on the Managed Staffing page.
Take the Delegation Quiz
Most founders are shocked by their results. Some get defensive. Others get motivated. All of them get clarity.
Ready to Work Smarter?
Turn recurring admin and support work into a clear role, then request vetted Egyptian candidates matched to the way your team actually operates.