# Are acids and bases covalent compounds or ionic compounds?

The typical acid, for instance a hydrogen halide, has a polar covalent bond. That is a bond (i.e. $H - X$), where the electron density is strongly polarized to the more electronegative atom, the halogen. A $H - X$ bond, while strongly polarized, retains some covalent character, and indeed $H - C l$, and $H - B r$, and $H - I$, are gases at room temperature, with discrete $H - X$ molecules. When you open a bottle of conc. hydrochloric acid sometimes you can inadvertently get a snort of $H C l$, (open it and use it in the fumehood, Bozo!).
Of course, in water, the $H - X$ bond can become so polarized that we get discrete ${H}^{+}$ and ${X}^{-}$ species. These are aquated species, i.e ${H}_{9} {O}_{4}^{+}$, a cluster of water molecules with an extra ${H}^{+}$; this is why we often represent the acidium ion in water as ${H}_{3} {O}^{+}$.
On the other hand, aqueous bases, $K O H \left(a q\right)$, or $N {H}_{3} \left(a q\right)$, contain atoms with 1 or more lone electron pairs, that can bind ${H}^{+}$. If there is a query, or something you would like to ask, you are welcome to ask for clarification.