Skip to content
MiPRFácil
ESEN
Public Utilities

Unjust enrichment: if a contract binds you, it does not apply

Last reviewed: September 10, 2026VerifiedPoder Judicial

In short

Chapter III of Title III of the Civil Code of 2020 fits in two articles. Article 1526 defines: if a person, without just cause, is enriched at another’s expense, they are obliged to indemnify them for the correlative patrimonial decrease in the measure of their own enrichment, whether it comes from obtaining an advantage or from avoiding a harm. Two details of that sentence change the arithmetic. The first is the measure: indemnification is in the measure of the enrichment of the one who gained, not of the loss of the one who lost; if the other gained less than you lost, the cap is their enrichment. The second sits at the end: the enrichment counts the same whether it came from obtaining an advantage or from avoiding a harm, so saving a cost at another’s expense is in. Article 1527 says when the action does not lie, and it is the article that closes the most cases: if the law denies the action; if the law attributes other effects to the enrichment; if the law allows the impoverished party to exercise another action; or if between the parties or interested persons there is a contractual relationship. The last two subsections close the most doors in practice, because they make this a residual action: if you have another route, or if a contract binds you, this chapter is not your path. The Code refers three times to "the law" in a single article without naming one, and this guide names none either. Nor does it define what a just cause is, or say how the enrichment is measured or valued, or set a period to claim.

External link

Go to the official site

You'll leave MiPRFácilOpens in a new tab

bvirtualogp.pr.gov

What is it?

They are Articles 1526 and 1527 of the Civil Code of 2020: when someone must indemnify for having been enriched without just cause at another’s expense, and the four cases where that action does not lie.

Who can do it?

Whoever suffered a patrimonial decrease because another person was enriched without just cause at their expense, under the Puerto Rico Civil Code.

Requirements

Documents you need

Cost

Check the current cost with the official agency.

Step by step

  1. Step 1: What must have happened

    Article 1526: that a person, without just cause, be enriched at another’s expense. The Code does not define here what a just cause is, and this guide does not define it for it.

  2. Step 2: How much is owed: the measure is the enrichment

    The same article: they are obliged to indemnify them for the correlative patrimonial decrease in the measure of their own enrichment. If the other gained less than you lost, the cap is what they gained.

  3. Step 3: Saving a cost is enrichment too

    Closing of 1526: whether it comes from obtaining an advantage or from avoiding a harm. The Code puts both forms on the same footing, and the second is the one overlooked.

  4. Step 4: It is a residual action, and the Code says so

    Article 1527 lists four cases where the restitution action does not lie. Read together, they make clear this chapter is used when there is no other route, not as an alternative to those that exist.

  5. Step 5: If the law denies the action or gives it other effects

    Subsections (a) and (b): if the law denies the action, or if the law attributes other effects to the enrichment. The article names none of those laws, and we did not read them: none is named here.

  6. Step 6: If another action is available to you

    Subsection (c): if the law allows the impoverished party to exercise another action. Having another route closes this one. It is one of the two subsections that leaves the most cases out.

  7. Step 7: And if a contract binds you

    Subsection (d): if between the parties or interested persons there is a contractual relationship. Note the article says "parties or interested persons", not only the two directly opposed.

  8. Step 8: What these two articles do not carry

    They do not define just cause, name none of the laws they refer to three times, do not say how the enrichment is measured or valued, set no period to claim and name no fee. None of that is here.

Where to do it

The Code names no agency for this chapter. The restitution action is decided by the Court of First Instance. Subsections (a), (b) and (c) of Article 1527 refer to laws the Code does not name.

How long it takes

Check the current processing time with the official agency.

What to do if something goes wrong

If a contract binds you and the other party, Article 1527(d) closes this action and what applies are that contract’s rules, with their own guides on this site. If what happened is that you paid something you did not owe, that is the chapter on payment of what is not owed, with separate guides. If someone managed an affair of yours uninvited, that is the chapter on management of another’s affairs. If yours is the crime of illicit enrichment by a public official, that is another subject with its own guide. These two articles do not define just cause, do not name the laws they refer to, and set no period. MiPRFácil does not represent anyone in court and gives no legal advice.

Common mistakes

  • Claiming unjust enrichment where a contractual relationship binds the parties.
  • Using this action while another is available: subsection (c) closes it.
  • Measuring the claim by what you lost: the article measures by what the other gained.
  • Overlooking that avoiding a harm counts as enrichment.
  • Forgetting that subsection (d) speaks of parties or interested persons, not only the two directly opposed.
  • Documenting only your own loss and not the other’s enrichment.
  • Looking in these articles for the claiming period: they fix none.
  • Confusing this civil figure with the crime of illicit enrichment by a public official.

Frequently asked questions

How much can I claim?

Article 1526 requires indemnifying the correlative patrimonial decrease in the measure of the enriched party’s own enrichment. That enrichment is the cap.

The other person gained nothing, they just saved a cost. Does that count?

Article 1526 says the enrichment counts whether it comes from obtaining an advantage or from avoiding a harm.

We have a signed contract. Can I use this action?

Article 1527(d) says the restitution action does not lie if between the parties or interested persons there is a contractual relationship.

How long do I have to claim?

These two articles set no period. The Code does not say here and this guide does not supply it.

Official sources

These are the government pages this guide is based on.

Last verified

September 10, 2026

MiPRFácil is an independent informational website and is not affiliated with, endorsed by, or operated by the Government of Puerto Rico or any government agency.

MiPRFácil does not submit applications on your behalf.

Was this guide helpful?

Did you find out-of-date information?

Did you find out-of-date information?

No account needed. We don't ask for personal data.