Originally Posted by
aviators99
Money deposited to your account due to a bank error in your favor is the bank's money, not yours. You can be prosecuted for theft if you don't return it.
I don't believe anyone has a legal obligation to return the money unless the bank asks for it. If the bank notices the error and asks for it back, then indeed you are required to return it. The moral obligation is a different matter.