Prohibition on Compensation and Set-Off Under Philippine Law

A Philippine Legal Article

In Philippine law, compensation and set-off are often spoken of as if they were always available whenever two persons owe each other money. That is not correct. The Civil Code allows compensation only in specific situations, and both substantive law and special laws place important limits on when one obligation may be offset against another.

This is the most important starting point: not every cross-claim can be netted out. In many situations, the law forbids it altogether. In others, compensation fails not because it is expressly prohibited, but because the legal requisites are missing. The result is the same: the debtor cannot simply say, “You owe me too, so I will not pay.”

This article explains the Philippine rules on compensation and set-off, the requisites for legal compensation, the kinds of compensation recognized by law, the situations where compensation is prohibited, the difference between compensation and procedural set-off, and the practical implications in civil, commercial, labor, tax, and criminal settings.


I. What compensation means in Philippine law

Under the Civil Code, compensation is a mode of extinguishing obligations when two persons are mutually debtors and creditors of each other in their own right. Instead of each party paying the other separately, the law allows the obligations to cancel each other to the concurrent amount, provided the legal conditions are present.

In practical terms, if:

  • A owes B ₱100,000, and
  • B owes A ₱80,000,

then compensation may extinguish ₱80,000 of both debts, leaving only ₱20,000 still payable by A to B.

This sounds simple, but the law is not casual about it. Compensation is not allowed merely because both sides have money claims. It is allowed only when the law says so.


II. What set-off means

In Philippine usage, set-off is often used interchangeably with compensation, but the terms are not always identical in emphasis.

Compensation

This is the Civil Code concept—a mode of extinguishing obligations.

Set-off

This is often used more broadly, especially in litigation, to refer to the act of asserting one claim against another to reduce or defeat liability.

In substance:

  • compensation is the legal extinction or reduction of obligations;
  • set-off is often the way a defendant or obligor asserts that result in court or in dealings between the parties.

The distinction matters because a claim may fail as legal compensation, yet still be asserted in court as a counterclaim or basis for judicial set-off, depending on the facts.


III. The requisites of legal compensation

Under the Civil Code, legal compensation generally requires that:

1. Each party is bound principally, and at the same time is a principal creditor of the other

The parties must be mutually debtor and creditor in their own right and usually as principals, not merely as agents or representatives.

2. Both obligations consist in a sum of money, or if things are due, they are consumable things of the same kind and quality if stated

Compensation usually works most cleanly with money obligations.

3. The two debts are due

A debt not yet due is generally not subject to legal compensation.

4. The debts are liquidated and demandable

The amounts must be determined or readily determinable, and legally demandable.

5. There is no retention or controversy over either debt commenced by third persons and communicated in due time to the debtor

A third-party claim can prevent legal compensation from operating automatically.

If these requisites are incomplete, legal compensation usually does not arise by operation of law.


IV. When compensation happens automatically

If all the legal requisites are present, compensation may occur by operation of law, even without the parties expressly declaring it.

That is one reason compensation is powerful. But it is also one reason the law limits it carefully: automatic extinguishment is only permitted where the debts are clean, mature, liquidated, and mutually held.

Where any of those conditions is missing, automatic compensation usually does not occur.


V. Kinds of compensation recognized in Philippine law

For practical understanding, compensation may be viewed in several forms:

1. Legal compensation

This arises automatically when all Civil Code requisites are present.

2. Conventional or voluntary compensation

This arises when the parties agree to offset obligations even if some requirements for legal compensation are absent.

3. Judicial compensation

This may arise when a court determines that offsetting is proper after the claims are established in litigation.

4. Facultative compensation

This is often used to describe situations where compensation is not available to one side as a matter of right, but may be invoked at the option of the party whom the law intends to protect.

These distinctions matter because a prohibition on legal compensation does not always mean the parties can never agree voluntarily to a lawful arrangement—unless the law or public policy forbids that too.


VI. The core idea behind prohibition

Philippine law prohibits compensation in certain situations because automatic offsetting would conflict with a stronger policy.

The law is especially cautious where:

  • one obligation involves trust and safekeeping;
  • one claim exists for support or subsistence;
  • one debt involves civil liability from a crime;
  • one side of the equation is taxation rather than an ordinary private debt;
  • or a special law protects wages, public revenue, or vulnerable claimants.

The prohibition is therefore not arbitrary. It reflects the idea that some obligations are too important, too personal, or too public in character to be neutralized by private offset.


VII. Express prohibition: depositum

One of the clearest Civil Code prohibitions is when one of the debts arises from depositum.

A depositum is a contract where one person receives a thing belonging to another with the obligation to safekeep and return the same thing.

The law does not allow the depositary to say:

“You owe me money, so I will keep the deposited thing and apply it by compensation.”

That is prohibited because the depositary’s duty is not a simple money obligation. It is a duty of trust, custody, and return. Allowing compensation would undermine the very purpose of deposit.

Example:

A leaves a valuable watch with B for safekeeping. B later claims that A owes him money from another transaction. B cannot simply refuse to return the watch on the theory of compensation.


VIII. Express prohibition: obligations of a bailee in commodatum

The Civil Code also prohibits compensation when one of the debts arises from the obligations of a bailee in commodatum.

Commodatum is a loan for use. One person allows another to use a non-consumable thing temporarily, with the obligation to return the same thing.

The borrower cannot say:

“You owe me money, so I will keep your car, machine, or equipment by compensation.”

This is prohibited for the same policy reason as depositum: the bailee’s duty is to return the very thing entrusted for use, not to convert that obligation into a money offset.

Example:

A lends B a generator to use for one week. B later says A owes him professional fees. B cannot keep the generator and claim compensation.


IX. Express prohibition: support due by gratuitous title

The Civil Code also states that compensation cannot be set up against a creditor who has a claim for support due by gratuitous title.

This is a very important humanitarian rule. Support exists to meet basic subsistence needs. The law does not want a person entitled to support to be deprived of it simply because the obligor claims some cross-obligation.

“Gratuitous title” refers to support arising from generosity, such as support created by donation or will, rather than by exchange for value.

The policy is plain: support is too closely tied to subsistence to be casually cancelled by offset.

Practical meaning:

If a person is entitled to receive support under a gratuitous arrangement, the obligor generally cannot extinguish that duty simply by claiming the beneficiary owes something else.


X. Express prohibition: civil liability arising from a penal offense

The Civil Code also prohibits compensation where one of the debts consists of civil liability arising from a penal offense.

This is another strong rule of public policy.

If a person commits a crime and incurs civil liability to the victim—such as restitution, reparation, or indemnification—that civil liability cannot simply be neutralized by asserting that the victim also owes the offender money.

The law does not allow a criminal wrongdoer to dilute penal civil liability through private offset.

Example:

If X steals from Y and becomes civilly liable to restore the value of what was taken, X cannot ordinarily say, “Y also owes me money from another deal, so our obligations cancel.”

That is precisely what the prohibition prevents.


XI. Taxes are generally not subject to compensation or set-off

Although the Civil Code provisions on compensation concern private obligations, one of the most important Philippine doctrines outside the Civil Code is that taxes are generally not the subject of compensation or set-off.

This is a long-standing principle in Philippine tax law and jurisprudence. The reason is that taxes are not treated as ordinary contractual debts.

The relationship between the taxpayer and the government is not the same as the relationship between two private persons who are mutual debtors and creditors. Taxes arise from the State’s sovereign power to tax, not from a private debtor-creditor arrangement.

Practical meaning:

A taxpayer usually cannot say:

“The government owes me money, so I will not pay my taxes,”

or

“I have a pending tax refund, so I will offset it against current tax liability.”

As a rule, that is not how tax obligations are extinguished.

Important qualification:

There may be special statutory mechanisms for tax credit, tax refund application, or recognized tax credit certificates. But those are not ordinary Civil Code compensation. They exist because tax law itself specifically allows them.


XII. Why tax set-off is treated differently

The prohibition on ordinary compensation of taxes rests on several policy reasons:

  • taxes are lifeblood of government;
  • public revenue cannot be withheld based on private-style offset reasoning;
  • a taxpayer’s claim against government is often subject to separate legal requirements;
  • and the State is not treated as a conventional reciprocal debtor in the same way as a private contracting party.

So while taxpayers may have legitimate refund or credit claims, those must usually be pursued through the proper tax procedures, not through self-declared compensation.


XIII. Wages and salary deductions: labor-law limitations on set-off

Outside the Civil Code’s express list, Philippine labor law also strongly limits an employer’s ability to use compensation or set-off against wages.

As a rule, an employer cannot simply reduce wages or withhold salary on the theory that:

  • the employee owes the company money,
  • the employee caused loss or damage,
  • the employee received an overpayment,
  • or the employee has accountabilities,

unless the deduction is authorized by law, by regulations, or under valid conditions recognized in labor law.

This is because wages are specially protected by public policy.

Practical meaning:

An employer cannot freely say:

“You owe us for damaged tools, so we will deduct it from your salary,”

or

“You still have an outstanding obligation to the company, so we will set it off against your wages,”

unless the deduction is legally permissible.

This is not simply a Civil Code question. It is a labor-protection rule.


XIV. Why wages are treated differently

The law protects wages because they are tied to subsistence and labor standards. Even where an employee owes money to the employer, the employer does not have unrestricted power to self-execute compensation against wages.

In practical terms, wage deductions are usually allowed only when:

  • specifically authorized by law;
  • permitted by regulations;
  • or validly consented to under conditions allowed by labor law.

So while the word “compensation” may be used casually in payroll disputes, the real legal framework is often labor law, not merely the Civil Code.


XV. Support obligations are treated cautiously even beyond the express text

The Civil Code expressly mentions support due by gratuitous title. More broadly, support obligations are treated with special caution in Philippine law because they are linked to maintenance and survival.

That means parties should be very careful about attempting to extinguish support through offset, especially where the effect would be to deprive the recipient of basic maintenance.

The law’s attitude is clear: support claims are not ordinary commercial debts.


XVI. No legal compensation if the debt is not yet due

Even where there is no express prohibition, compensation still fails if one debt is not yet due.

Example:

A owes B ₱100,000 due today. B owes A ₱100,000 due next year.

Since B’s debt to A is not yet due, legal compensation generally does not arise today.

This is not an express statutory prohibition in the same sense as depositum or taxes, but it is still a practical barrier. A debtor cannot invoke legal compensation where maturity is lacking.


XVII. No legal compensation if the debt is unliquidated or disputed

Legal compensation also fails where the claim is not yet liquidated and demandable.

This often happens when one party says:

“You owe me damages,”

but the amount is still uncertain, disputed, or dependent on proof.

An unliquidated damages claim usually cannot automatically extinguish a liquidated debt by legal compensation.

Example:

A owes B ₱500,000 on a matured loan. B allegedly damaged A’s business, and A claims ₱2 million in damages.

Unless A’s damages claim is already liquidated and demandable, legal compensation usually does not automatically take place.

However, A may still assert the damages claim in court as a counterclaim or basis for judicial set-off if properly proved.


XVIII. Judicial set-off and counterclaims

This is where litigation becomes important.

A claim that cannot operate as legal compensation may still be raised in court as:

  • a defense,
  • a counterclaim,
  • or a basis for judicial set-off.

For example, if one debt is disputed or needs proof, the court may later determine the amount and allow offsetting in the judgment.

This is why compensation and set-off should not be collapsed into one idea. A party may lose on automatic legal compensation but still succeed on judicial set-off after proving the claim.

Still, where the law expressly prohibits compensation—such as in depositum, commodatum, civil liability from crime, or the usual tax context—the court cannot simply ignore that prohibition because the party used the language of set-off.


XIX. Assignment of credits and loss of compensation rights

The Civil Code also regulates what happens when a creditor assigns his credit to a third person.

A debtor who consents to the assignment without reserving the right to compensation may lose the ability to set up against the assignee the compensation that could have been asserted against the original creditor.

This rule matters because compensation can be cut off or limited by credit assignment, depending on whether:

  • the debtor consented,
  • the debtor merely knew,
  • or the debtor had no knowledge of the assignment.

So even where compensation is not prohibited in principle, it may still be blocked by the assignment rules if the debtor mishandles the situation.


XX. Guarantors and compensation

The Civil Code allows a guarantor to set up compensation as regards what the creditor may owe the principal debtor.

This is a notable exception to the idea that only principal debtors and creditors may rely on compensation in the strictest sense. It reflects the derivative nature of guaranty obligations.

Still, this does not override the express prohibitions discussed above.


XXI. Bank deposits and compensation: a common source of confusion

People often confuse bank deposits with depositum. In Civil Code terms, a bank deposit is generally not the same as an ordinary depositum for safekeeping.

As a rule, money deposited in a bank creates a debtor-creditor relationship between the bank and the depositor. That is why set-off issues between bank obligations and loan obligations may arise under ordinary compensation rules, subject to contract and banking law.

This is important because the express prohibition on compensation involving depositum does not automatically mean every bank account is immune from offset in every situation.

A true Civil Code depositum is a custody relationship. A bank deposit is ordinarily a loan-type relationship in law.


XXII. Compensation cannot prejudice third persons with timely communicated claims

Even where the parties appear mutually indebted, legal compensation does not arise if there is a retention or controversy commenced by a third person and communicated in due time.

This protects outsiders whose rights could otherwise be defeated by a private offset between the debtor and creditor.

Example:

If a third person has already asserted a lawful claim or garnishment against one of the credits and that controversy has been duly communicated, the parties cannot simply ignore that third-party right by claiming compensation.


XXIII. Conventional compensation: parties may agree, but not against public policy

Parties may generally agree to offset obligations even if some requisites for legal compensation are absent. This is conventional compensation.

But even conventional compensation has limits. Agreement cannot defeat prohibitions grounded in public policy, mandatory law, or protected interests.

So while parties may waive maturity issues or agree on an offset of commercial obligations, they cannot safely assume that every prohibited compensation can be legalized merely by private agreement.

This is especially true in areas involving:

  • taxes,
  • wages,
  • support,
  • and liabilities arising from crime.

XXIV. Practical examples of prohibited or disallowed compensation

A. Crime victim versus offender

If an offender owes civil indemnity arising from a crime, that liability cannot ordinarily be offset by saying the victim separately owes the offender money.

B. Taxpayer versus BIR

A taxpayer with a refund claim usually cannot simply offset that against current taxes unless tax law itself allows the credit mechanism.

C. Depositary refusing to return property

A depositary cannot keep the deposited thing by claiming that the owner owes him on another account.

D. Borrower in commodatum refusing to return the thing borrowed

A bailee in commodatum cannot keep the borrowed object by invoking an unrelated money claim.

E. Employer withholding wages because of employee liability

An employer cannot freely apply wage set-off unless allowed by labor law.

These examples show how wide the prohibition can be once special legal policy is involved.


XXV. Common mistakes people make

Several recurring mistakes cause legal trouble:

1. Assuming all mutual debts cancel automatically

They do not.

2. Ignoring the due-and-liquidated requirement

A disputed or future claim usually does not produce legal compensation.

3. Treating taxes like ordinary debts

They are not.

4. Using Civil Code compensation to justify salary deductions

Labor law may prohibit that.

5. Confusing bank deposits with depositum

They are not the same legal relationship.

6. Overlooking third-party claims or assignment rules

These can defeat compensation.

7. Forgetting that some obligations are protected by public policy

Support, criminal civil liability, and trust-type obligations are not ordinary offset material.


XXVI. Practical approach before invoking compensation or set-off

A person who wants to invoke compensation should first ask:

  • Are both parties mutual principal debtors and creditors?
  • Are both debts already due?
  • Are both debts liquidated and demandable?
  • Is either obligation protected by a special rule or public policy?
  • Does one debt arise from depositum, commodatum, support, criminal civil liability, taxes, or wages?
  • Is there a third-party claim, retention, garnishment, or assignment issue?
  • Am I asserting automatic legal compensation, or do I really need judicial set-off through a counterclaim?

These questions usually reveal whether compensation is available, prohibited, or merely premature.


XXVII. The bottom line

Under Philippine law, compensation and set-off are not universal escape devices. The Civil Code allows compensation only when strict requisites are present, and it expressly prohibits compensation in important situations such as:

  • obligations arising from depositum,
  • obligations of a bailee in commodatum,
  • support due by gratuitous title,
  • and civil liability arising from a penal offense.

Beyond the Civil Code, Philippine law also strongly limits or rejects compensation in areas such as:

  • tax obligations,
  • and many forms of wage deduction or salary set-off.

The most important legal principle is simple: not every debt can be netted against another debt. Where public policy, trust, subsistence, criminal responsibility, labor protection, or sovereign taxation is involved, the law often forbids compensation or subjects it to special rules. A party who wants to offset obligations must therefore examine not just whether the parties owe each other money, but whether the law allows that money to cancel at all.

Disclaimer: This content is not legal advice and may involve AI assistance. Information may be inaccurate.