A Werkvertrag promises a result, and a result can be defective. When an external engineering team delivers software under §631 BGB, the client's remedies for defects are set out in §634 BGB: subsequent performance, self-remedy, withdrawal or price reduction, and damages. In theory this is a strong position. In practice, software defect disputes are lost on three points: the contract never defined what "free of defects" meant, the client accepted the work without reserving known defects, or the limitation period ran out while the parties were still discussing the bug. This guide walks through the remedies, the time limits and the clause patterns that keep the warranty usable.

Why defect rules carry weight

Software defects are expensive at scale. The Consortium for Information and Software Quality (CISQ) estimated the cost of poor software quality in the United States at about 2,41 trillion USD in 2022, with accumulated technical debt of about 1,52 trillion USD. Black Duck's 2026 OSSRA report found at least one known open source vulnerability in 87 percent of 947 audited commercial codebases. In Germany, Bitkom counted 79.000 unfilled IT positions in September 2026, which means many companies will rely on external teams for exactly the specialised code where defects are hardest to detect internally. The warranty clause is where that dependency is priced.

The remedies under §634 BGB

RemedyStatutePreconditionPractical use in software
Subsequent performance (Nacherfüllung)§635A defect at acceptanceThe contractor chooses between fixing and re-delivering. The default first step.
Self-remedy (Selbstvornahme)§637Reasonable deadline for subsequent performance has expiredYour own team or a third party fixes the defect, the contractor reimburses the necessary cost and owes an advance.
Withdrawal or price reduction§636, §638Deadline expired or subsequent performance failedRarely used for software increments already integrated, more relevant for clearly separable modules.
Damages§§280, 281, 636Fault of the contractor, deadline in most casesConsequential losses such as downtime, subject to contractual caps.

The definition of a defect

Under §633 BGB, a work is free of defects if it has the agreed quality. If no quality was agreed, the test is suitability for the use presupposed in the contract, otherwise for ordinary use. For individual software, "ordinary use" is a weak standard, because there is no ordinary market comparison. The agreed quality therefore does most of the work: functional requirements, non-functional requirements (performance, security, accessibility), coding and documentation standards, and supported environments. A Leistungsbeschreibung with testable acceptance criteria is, in legal terms, a definition of defect.

The Abnahme trap

Acceptance under §640 BGB is the turning point. It starts the limitation period in most constellations, shifts the burden of proof for defects to the client and makes the remuneration due. §640 Abs. 3 BGB adds a trap: if you accept a work while knowing of a defect, you keep the remedies of subsequent performance, self-remedy and withdrawal or reduction only if you reserve your rights in respect of that defect at acceptance. Damages remain available. For sprint-based delivery, this means every acceptance protocol should list known open defects with an explicit reservation, even if they are scheduled for the next sprint.

Which limitation period applies

§634a BGB distinguishes. Claims concerning a work that consists in the manufacture, maintenance or modification of a thing, or in planning or supervision services for it, become time-barred in two years from acceptance (Nr. 1). Buildings have five years (Nr. 2). For other works, the regular limitation period of three years applies, beginning at the end of the year in which the claim arose and the client became aware of it (Nr. 3). The classification of individually developed software is debated in German literature and case law: some treat it as an unembodied work under Nr. 3, others apply sales law via §650 BGB where software is delivered as a movable thing. The practical consequence is uncertainty, and the remedy is to agree the period expressly.

Clause patterns that keep the warranty usable

  1. Defect classes with response times. Critical, major and minor defects, each with a defined response and fix time, so that "reasonable deadline" under §637 is no longer a debate.
  2. An agreed limitation period. For example twelve or twenty-four months from acceptance of each increment, with a clear starting point. In standard terms, shortening is reviewed under §307 BGB, and claims for intent, gross negligence and personal injury should not be shortened.
  3. Acceptance protocol with reservations. A template that lists open defects and reserves rights under §640 Abs. 3 BGB.
  4. Self-remedy cooperation. The contractor provides access to build pipelines and documentation so that your team or a successor can fix defects if needed.
  5. Separation of warranty and support. Warranty covers defects in what was delivered. New requirements, changed environments and third-party updates belong in a separately priced support or change process.

Dienstvertrag: no warranty, different tools

Under a Dienstvertrag, the vendor owes diligent services, not a defect-free result. There is no warranty under §634 BGB, only damages for breach of duty under §280 BGB, which requires proof of fault. Companies that buy engineering capacity under a Dienstvertrag should therefore rely more on quality gates, review rights and termination options than on warranty.

This article is general information and does not constitute legal advice; the classification of a specific software contract and its limitation period should be reviewed with counsel.

A warranty is only as good as the definition of defect behind it and the discipline at acceptance. niogod™ pods deliver under a Werkvertrag with sprint-level acceptance criteria and an acceptance protocol, so quality is agreed before the code is written. If your current vendor contract leaves the defect definition to interpretation, that is the clause to rewrite first.

Talk to niogod™

Planning engineering capacity in DACH? Book a 30-minute consultation with the niogod™ team.

Book consultation
← All insights