A dream about a ban signifies a fear of being rejected or of being excluded from something.
You may dream of being banned from a place or from taking part in an activity when something new is happening in your life, for example, if you are moving somewhere new, starting a new job, or beginning a new relationship. The dream is expressing your natural worries about getting along with others and your natural fear of rejection.
A dream of a ban can also represent insecurity. You feel that you aren’t good enough to be accepted by others, or that something you have done isn’t worthy of others’ standards.
If you dream that you ban someone else, you may disapprove of something about them. That person may also represent a part of yourself that you do not like.