Short answer. Yes. Article 871 expressly allows a testator to institute an heir for a certain purpose or cause. Attaching a purpose to a bequest — whether building a school, supporting a charity, or any other cause — is a recognized and lawful way to structure a testamentary disposition.

What the law says

The institution of an heir may be made conditionally, or for a certain purpose or cause.

Civil Code, Article 871 — Conditions and Terms Are Allowed. Read the full provision →

Purpose and condition are both permitted

Article 871 recognizes two ways a testator can qualify the institution of an heir: by attaching a condition, or by tying it to a purpose or cause. These are not the same thing. A condition is a future uncertain event that either must happen or must not happen for the institution to take effect. A purpose or cause, by contrast, designates how the inherited property is to be used — the heir receives the inheritance but is expected or required to apply it toward the stated aim.

What a purpose-based institution looks like in practice

A testator might write: 'I leave my building to my nephew, for the purpose of establishing a school for the children of our barangay.' Or: 'I leave my savings to the parish, to be used solely for the support of the elderly in our community.' In both cases, the heir or legatee receives the property — but receives it burdened with an obligation to apply it toward the stated purpose. The will creates a moral and legal obligation tied to the inheritance itself.

Purpose is not the same as a condition suspending the institution

The distinction matters practically. When an institution is made subject to a condition, the heir may not take the inheritance until the condition is satisfied or determined. When an institution is made for a cause or purpose, the heir typically receives the inheritance immediately but is bound to apply it as directed. Failure to carry out the purpose may give rise to a legal remedy — but it does not prevent the transfer in the first place. Whether the will creates a condition or a purpose depends on how it is worded, and courts will look at the testator's actual intent.

Limits: legitimes still cannot be burdened

The testator's freedom to attach a purpose applies to the free portion of the estate — the share the testator can dispose of as he wishes. The law protects the legitimes of compulsory heirs from any conditions, substitutions, or burdens. A purpose imposed on the legitime portion is void with respect to the legitime, though it may be valid as to any excess beyond the protected share. If you are drafting a will or evaluating one that includes a purpose institution, a lawyer can help you ensure the structure complies with the rules on compulsory succession and will not expose the estate to a challenge.

Related provisions

Note. Statute text quoted on this page is reproduced from the official enactment and is linked to the full provision. The explanation around it is general legal information from Vivas & Nobles Law Office, not legal advice. Whether it applies to your situation depends on facts only a lawyer reviewing them can assess.