Outsourcing vs Outstaffing in Germany: AÜG, Werkvertrag and What Is Legal
Werkvertrag, Dienstvertrag or labour leasing? What the AÜG means for outsourcing and outstaffing in Germany, what changed in 2025, and what still creates risk.
German companies that need AI engineers have two ways to buy outside help. They can outsource a project, where a provider delivers a defined result. Or they can outstaff, where engineers from a provider join their product work for months at a time.
Both are legal in Germany. But German law cares less about what a contract is called and more about who actually directs the people doing the work. Get that wrong and a service agreement becomes illegal labour leasing, or a freelancer becomes an employee on paper you never signed.
This article explains the three contract types, what changed for remote teams in October 2025, what still creates risk, and how we set up our own offers. It is general information, not legal advice: have a German employment lawyer check your contract templates.
Three Contract Types Behind Two Models
“Outsourcing” and “outstaffing” are sales terms. German law knows three relevant contract types, and the guidance sheet of the Federal Employment Agency (Bundesagentur für Arbeit, BA) sets out how they differ.
Werkvertrag: a defined result
The provider owes a specific result, such as a working AI pipeline. According to the BA sheet, the typical signs are a concretely defined outcome, the provider organising the work and directing its own staff, the provider carrying the business risk including liability for defects, and pay tied to the result rather than to hours worked. This is classic outsourcing.
Dienstvertrag: a service, not a result
The provider owes work, not a guaranteed outcome. The BA sheet accepts a self-employed service contract only if the provider runs the service under its own responsibility: it organises the work, decides who does it, and its people are largely free from instructions by the client’s managers. This is the form a properly set up outstaffing engagement takes.
Arbeitnehmerüberlassung: labour leasing
Labour leasing means the provider hands its employees over to the client, who integrates them into its organisation and gives them instructions. It is regulated by the Arbeitnehmerüberlassungsgesetz (AÜG) and needs a permit. Under § 3 (2) AÜG, the permit must be refused when the business that leases the staff is located outside the EU or the European Economic Area.
What Changed in October 2025
For about a year, the BA took the view that remote IT work for a German client could count as labour leasing into Germany even when the engineers never left their own country. That made near- and offshore teams a permit question.
The BA reversed that position. As the law firm Noerr summarised in October 2025, under the BA’s internal instructions dated 1 October 2025, staff who are employed abroad and work remotely only from abroad no longer need an AÜG permit.
Two limits matter. First, these are internal agency instructions, not a change in the law, and they give way to contrary rulings of Germany’s highest courts. Second, according to Noerr, business trips to Germany or mobile work from Germany can bring the AÜG back into play, and in some cases even onboarding visits can.
📌 Key Insight:
The 2025 change removed one question, the permit for purely remote work from abroad. It did not remove the bigger one: who directs the engineers.
What Still Creates Risk
Work done in Germany under your instructions
Engineers who come to your office and take daily instructions from your managers are the classic labour-leasing case. On-site days are not forbidden, but they should be tied to agreed tasks and directed by the provider’s lead, not by whoever sits nearest.
Practice beats the contract title
The BA sheet is explicit: if the written contract and the way it is carried out contradict each other, the way it is carried out decides. A contract headed “Dienstvertrag” does not help if your team lead assigns tickets to named engineers every morning, approves their holidays and treats them as part of the department.
Undisclosed labour leasing
Since April 2017, a labour-leasing contract must say openly and in advance that it is labour leasing, and name the people leased. If it does not, the BA sheet explains, the engineer’s employment contract with the provider is void and an employment relationship with the client arises instead, unless the engineer formally objects. A disguised service contract is therefore not a grey area. It can make you the employer.
Individual Freelancers and Scheinselbstständigkeit
Hiring individual freelancers raises a separate risk: false self-employment (Scheinselbstständigkeit). The test under German social security law is the same pair of questions, instructions and integration, weighed on how the arrangement works in practice.
A PwC overview from October 2026 reports two recent rulings. On 6 October 2026, the Federal Social Court (BSG) held that a doctor who worked for a clinic through her own company was employed there: putting a company in between changed nothing because she was personally integrated. PwC notes that the Federal Court of Justice (BGH) reasoned the same way in a criminal case in July 2026. PwC also puts the social security contributions at risk at roughly 40 percent of the fee, before back payments and surcharges.
For a buyer, the lesson is simple. A freelancer’s own company does not protect you if the freelancer works like an employee. What reduces the risk is a provider that employs its engineers, directs them and carries responsibility for the result or the service.
How We Set Up Our Three Offers
Mobian Studio is an EU company registered in Estonia, with senior engineers across Europe, one hour from German time. We sell both models, and each has its own contract type and its own line of direction.
| Offer | Contract (German name) | Who directs the engineers | Billing |
| AI project or AI-native app (outsourcing) | Werkvertrag: a defined result with warranty | Mobian project manager and tech lead | Fixed price per milestone |
| Dedicated AI engineers (outstaffing) | Dienstvertrag: a service, not a result | Mobian tech lead; you set priorities through the backlog | Monthly per engineer or per sprint |
| Forward Deployed Engineers | Dienstvertrag with defined on-site days | Mobian lead; on-site work tied to agreed tasks | Monthly plus travel |
Our AI development projects follow the outsourcing model: a fixed scope and price for discovery and pilot, then production priced per milestone. The AI verification module we built for farm sustainability audits shows the shape of that work: a defined output, a traffic-light verdict and memo for every assessment, with rules the client’s experts confirmed before any code was written.
Our applied AI engineers work in your sprints and repositories, but a Mobian tech lead plans and reviews their work and is responsible for it. Forward Deployed Engineers work mostly remotely, with on-site days for workshops and rollouts agreed in the contract. For a broader comparison of the two models beyond German law, see staff augmentation vs outsourcing.
A Checklist for Buyers
In the contract
-
The right type. A defined result points to a Werkvertrag, ongoing engineering work to a Dienstvertrag. If you really want to direct people yourself, that is labour leasing and needs a licensed provider and a contract that says so.
-
A named lead on the provider’s side. The contract should say who plans, assigns and reviews the work.
-
Scope described as tasks or outcomes, not as “resources available to the client”.
-
Where the work happens. Remote from abroad by default, with any on-site days and their purpose written down.
-
Billing that fits the type: milestones for a result, monthly or per sprint for a service.
In daily practice
-
Priorities go through the backlog and the provider’s lead, not as direct orders from your managers to individual engineers.
-
The provider decides who does what, including replacements and holidays.
-
External engineers are not in your org chart, your shift plans or your internal HR processes.
-
Visits to Germany have a stated purpose and stay within the agreed tasks.
Watch the wording, too, because it shows how an engagement is meant to work. “Reinforcement by a remote team with its own technical lead” (Verstärkung durch ein Remote-Team mit eigener technischer Leitung) describes a service. “Developers you manage like your own staff” (Entwickler, die Sie wie eigene Mitarbeiter führen) describes labour leasing.
Choosing the Right Model
If you need a defined AI system delivered, outsource it as a project. If you need engineering capacity on your roadmap for months, outstaff it as a service with the provider’s lead in charge. In both cases, make sure daily practice matches the contract, and have a German employment lawyer review your templates before you sign.
If you want engineers who add AI features to your product under a Mobian tech lead, see our page on hiring applied AI engineers.
Frequently asked questions
Is IT outstaffing legal in Germany?
Yes, if it is set up as what it claims to be. A provider can deliver a service under a Dienstvertrag, with its own lead directing the engineers, or lease staff openly under the Arbeitnehmerüberlassungsgesetz (AÜG). The risk lies in the middle: a contract called a service agreement while the client directs the engineers like its own employees.
Do we need an AÜG permit if the developers work remotely from abroad?
Under the Federal Employment Agency’s guidance in force since 1 October 2025, staff who are employed abroad and work only from abroad are no longer treated as leased into Germany, so no permit is needed for them. This is agency guidance, not a change in the law, and visits or work in Germany can bring the AÜG back into play.
What is the difference between a Werkvertrag and a Dienstvertrag?
Under a Werkvertrag the provider owes a defined result, such as a working system, and is liable for defects in it. Under a Dienstvertrag the provider owes a service, such as engineering work, not a guaranteed outcome. In both cases the provider organises the work and directs its own people.
What happens if a service contract turns out to be labour leasing?
The authorities judge the contract by how it is carried out, not by its title. If staff are in fact leased without the contract openly saying so, the AÜG treats the engineer’s employment contract with the provider as void and creates an employment relationship with the client, unless the engineer formally objects.
Does hiring a freelancer through a company remove the Scheinselbstständigkeit risk?
Not on its own. In October 2026 the Federal Social Court held that working through one’s own company changes nothing when the person is integrated into the client’s organisation. What counts is whether the freelancer follows instructions and works as part of the client’s team in practice.


