GO:0055081: anion homeostasis
Any process involved in the maintenance of an internal steady state of anions within an organism or cell.