Offshore bank accounts must be declared to the holder's home country for tax reasons. However, some countries allow foreigners to earn capital gains tax-free.
There are ways to create a tax-free offshore bank account, such as setting up an offshore trust that holds offshore life insurance policy or building an offshore business that earns foreign-sourced active income.