Short answer. No. Article 2254 of the Civil Code is unequivocal: no vested or acquired right can arise from acts or omissions that are against the law or that infringe upon the rights of others. Years of illegal occupation do not transform into a legally protected right to remain.
What the law says
No vested or acquired right can arise from acts or omissions which are against the law or which infringe upon the rights of others.
Civil Code, Article 2254 — No Vested Right From Wrong. Read the full provision →
Illegal conduct cannot mature into legal rights
Article 2254 of the Civil Code states a principle that cuts across many areas of law: no vested or acquired right can arise from acts or omissions which are against the law or which infringe upon the rights of others. In your case, the original occupation was unlawful — you entered and remained on land without any legal basis. No matter how long you stayed, that unlawfulness does not transform into a legal entitlement. Time alone cannot launder an illegal occupation into a protected right.
Why the law takes this position
Allowing illegal acts to ripen into rights would incentivise wrongdoing. If a person could acquire a vested right to occupy land simply by persisting long enough in illegal possession, every landholder would face the prospect of losing title through sustained trespass. The law prevents this by refusing to recognise rights that originate in illegality. This does not mean the law is indifferent to the hardship of long-term occupants — there may be separate processes and policies addressing informal settlements — but those operate outside the framework of vested rights arising from the unlawful act itself.
The distinction between illegal occupation and adverse possession
It is worth noting that Philippine law does recognise a concept called acquisitive prescription — the acquisition of ownership by continuous, open, and uninterrupted possession over a prescribed period. But acquisitive prescription has specific requirements, including good faith and a just title in some circumstances, or extraordinarily long periods. Mere illegal occupation — possession that is known to be without any right — does not meet the requirements of acquisitive prescription over the periods commonly relevant in land disputes. The requirements are stricter than simply staying on land for years.
What this means for your situation
If the landowner demands that you vacate or files an ejectment case, your years of unlawful occupation are not a defence to being removed. The claim that you have acquired a vested right is not legally grounded in Article 2254 or related principles. Your options, if any, lie elsewhere — perhaps in negotiating with the landowner, exploring any applicable government programs for informal settlers, or examining whether any separate legal basis for your stay exists. A lawyer can evaluate your specific facts and tell you honestly what, if any, legitimate basis for remaining on the land might exist.
Cases citing this provision
These Supreme Court decisions cite the provision above. We list them so you can read them yourself; the summaries of what each decided are not ours to give.
- Energy Development Corporation vs. Commissioner of Internal Revenue, G.R. No. 203367, March 17, 2021 — read the decision on LawPhil →
- Commissioner of Internal Revenue vs. Team Sual Corporation (formerly Mirant Sual Corporation), G.R. No. 194105, February 5, 2014 — read the decision on LawPhil →
- Commissioner of Internal Revenue vs. San Roque Power Corporation/Taganito Mining Corporation vs. Commissioner of Internal Revenue/Philex Mining Corporation vs. Commissioner of Internal Revenue, G.R. No. 187485 / G.R. No. 196113 / G.R. No. 197156, February 12, 2013 — read the decision on LawPhil →
- Commission on Internal Revenue vs. Court of Appeals, G.R. No. 117982, February 3, 1997 — read the decision on LawPhil →