Kodeks cywilny
Consolidated text: Dz.U. 2026 poz. 795 · law as of 27 May 2026
Provisions: Art. 123, 389, 390, 394, 395, 396, 410, 471, 494
Choose whether the contract provided for a deposit, an advance or a withdrawal fee, enter the amount and describe what happened to the contract. The calculator shows how much you receive or pay, your result compared with the situation before the contract and how the settlement would differ if the payment were an advance.
Who pays whom and how much when the contract is or is not performed
What the contract provides for
A deposit is handed over when the contract is concluded and secures its performance: if one party fails to perform, the other may withdraw from the contract and keep the deposit or — if it gave the deposit — claim double the amount (Art. 394 § 1 of the Civil Code). The parties may agree otherwise. If the contract does not show that the payment is a deposit, choose “Advance”.
The amount handed over when the contract was concluded, e.g. a preliminary contract for the sale of a flat.
Your side of the contract
E.g. the seller who took the deposit did not turn up at the notary or sold the flat to someone else. This means non-performance for which that party is responsible.
You receive
The party that received the deposit did not perform: the giver may withdraw and claim double the deposit (Art. 394 § 1 of the Civil Code).
Deposit (zadatek): performance — it counts towards the price; non-performance for which one party is responsible — the other withdraws and keeps the deposit or claims double; termination, or non-performance for which neither or both parties are responsible — the deposit is returned. Advance (zaliczka) — returned if the contract is not performed, whoever is responsible. Withdrawal fee (odstępne) — paid together with the withdrawal.
Legal basis: Civil Code (consolidated text Dz.U. 2026 poz. 795)
Inputs
Calculation
The buyer may claim PLN 40,000, i.e. PLN 20,000 more than before the contract (illustrative example).
From the contract clause to settlement
A deposit has the effects of Art. 394 of the Civil Code when given at the conclusion of the contract and the parties agreed that the payment is a deposit. The content of the contract decides, not the name alone — so call the payment expressly a “deposit” (zadatek). Also write down what happens if a loan is refused or another obstacle arises.
The effects of a deposit depend on which party failed to perform and why. If neither party is responsible for non-performance, or both are, the deposit is returned without doubling (Art. 394 § 3 of the Civil Code).
To keep the deposit or claim double the deposit, send the other party a statement of withdrawal from the contract — no additional deadline has to be set (Art. 394 § 1 of the Civil Code).
Send a written demand for return of the deposit or payment of double the deposit, with a deadline. Claims under a preliminary contract, including deposit claims, become time-barred one year from the date on which the final contract was to be concluded (Art. 390 § 3 of the Civil Code). A demand alone does not interrupt the limitation period (Art. 123 § 1).
Withdrawal against a fee (odstępne) is effective only if the statement is made together with payment of the fee and within the period reserved in the contract (Art. 395 § 1 and Art. 396 of the Civil Code).
Links lead to the current consolidated text published in the Journal of Laws (Dziennik Ustaw), official PDF.
Consolidated text: Dz.U. 2026 poz. 795 · law as of 27 May 2026
Provisions: Art. 123, 389, 390, 394, 395, 396, 410, 471, 494
A deposit (Art. 394 of the Civil Code) secures performance of the contract: if the party that received it fails to perform, the giver may withdraw and claim double the deposit; if the giver fails to perform, the other party may withdraw and keep the deposit. An advance is just part of the price paid up front: if the contract is not performed, it is returned in the same amount, regardless of fault. If the contract is performed, both count towards the price.
You have to choose. If you withdraw from the contract, you settle with the deposit — you keep it or claim double (Art. 394 § 1 of the Civil Code). If you do not withdraw, you may demand performance and compensation under general rules (Art. 471 of the Civil Code), which is not limited to the amount of the deposit (Supreme Court (SN) resolution of 25 June 2009, III CZP 39/09). Under a preliminary contract, compensation covers the loss you suffered by relying on the final contract being concluded, unless the contract provides otherwise (Art. 390 § 1 of the Civil Code).
It depends on the contract and on whether the refusal is the buyer's responsibility. If the contract provides for return of the deposit when a loan is refused, the deposit is returned. If not, what matters is whether the buyer is responsible for non-performance: if the buyer is responsible, the seller may withdraw and keep the deposit (Art. 394 § 1 of the Civil Code); if neither party is responsible, the deposit is returned without doubling (Art. 394 § 3 of the Civil Code). That is why it is worth describing this case expressly in the preliminary contract.
If the contract is terminated, the deposit must be returned and the obligation to pay double lapses (Art. 394 § 3 of the Civil Code). The parties may agree otherwise in their termination agreement, e.g. that part of the deposit stays with the seller.
No. A withdrawal fee must be reserved in the contract together with the period in which withdrawal is allowed (Art. 395 § 1 and Art. 396 of the Civil Code). The withdrawal is effective only if the statement is made together with payment of the fee. Without such a clause a party cannot unilaterally “buy its way out” of the contract.
PLN 40,000 — double the deposit, i.e. your PLN 20,000 back plus the same amount again, after you withdraw from the contract (Art. 394 § 1 of the Civil Code). If it had been an advance, you would only get PLN 20,000 back.
If the buyer is responsible for non-performance, you may withdraw from the contract and keep the deposit (Art. 394 § 1 of the Civil Code) — your result is +PLN 20,000 compared with the situation before the contract. Instead, you may demand performance and compensation under general rules (Art. 471); under a preliminary contract — conclusion of the final contract, if the preliminary contract meets the validity requirements of the final contract, in particular as to form (Art. 390 § 2), or compensation under Art. 390 § 1.
Legal information
Calculations are for information and estimation only. They do not constitute legal, tax or other professional advice. For individual matters, consultation with a lawyer, tax adviser or other specialist is recommended.