Short answer. Yes. Article 22 of the Civil Code obliges anyone who acquires something at another's expense without a just or legal ground to return it, and a bank error creates no legal ground for you to keep the money. You must give it back even though you never asked for the mistaken deposit and did nothing wrong.
What the law says
acquires or comes into possession of something at the expense of the latter without just or legal ground, shall return the same to him.
Civil Code, Article 22 — Unjust Enrichment (Accion In Rem Verso). Read the full provision →
Why fault or intent never enters the analysis
Article 22 does not ask whether you were careless, honest, or entirely passive when the money landed in your account — a teller's typo, a duplicate transfer, or a software glitch all trigger the same rule. It asks only two things: did you acquire something at another person's expense, and was there any just or legal ground for you to keep it? A stray deposit clearly fails the second question, so the duty to return it arises the moment you learn of the mistake, not only once the bank formally demands it back. This is also why the source of the extra funds rarely matters to the analysis — whether it came from a misrouted payroll run, a duplicated online transfer, or a manual teller correction gone wrong, the same duty to return attaches regardless of which internal process at the bank produced the error.
What returning the money actually involves
In practice, returning the sum usually means letting the bank debit it back once the error is confirmed, or transferring the amount yourself. If you already withdrew or spent part of it before noticing the mistake, the duty to return does not disappear — you still owe the value of what you received. Whether you acted in good or bad faith mainly affects how interest or additional damages are later computed, not whether the underlying obligation to give back money that was never yours exists at all.
Where a civil duty can turn into a criminal complaint
Article 22 creates a civil obligation, but knowingly keeping and spending funds you are aware were credited by mistake can also expose you to a separate estafa complaint under the penal law. Banks that discover the error typically send a written demand first, and it is usually the refusal to return the money after clear notice — not the original, innocent receipt — that turns a routine correction into a criminal referral.
What to do once you notice the error
The safer course is to notify the bank promptly, avoid spending the extra amount, and keep a record of when you noticed the discrepancy and what you told the bank. If the bank's chosen method of recovering the funds seems heavy-handed — for instance, debiting unrelated deposits without warning — you can question that process separately; Article 22 obliges you to return what was mistakenly credited, not to accept whatever recovery method the bank unilaterally imposes. Keeping your own paper trail matters because disputes sometimes arise over exactly when notice was given, and a clear timeline protects you just as much as it protects the bank if the amount, interest, or manner of recovery is later contested.
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.
- Carlos A. Loria vs. Ludolfo P. Muñoz, Jr, G.R. No. 187240, October 15, 2014 — read the decision on LawPhil →
- Vicente S. Almario vs. PAL Inc, G.R. No. 170928, September 11, 2007 — read the decision on LawPhil →
- MC Engineering, Inc. vs. The Court of Appeals, et al, G.R. No. 104047, April 3, 2002 — read the decision on LawPhil →
- Bdo Unibank, Inc. vs. Cristina Barcellano y Riego, G.R. No. 261264, February 12, 2026 — read the decision on LawPhil →
Related provisions
- Civil Code, Article 22 — Unjust Enrichment (Accion In Rem Verso)
- Civil Code, Article 23 — Liability for Benefit Received Without Fault