She doesn't have to pay taxes, but she does anyway.
The sovereign isn't required to pay income or capital gains taxes, but Elizabeth has been voluntarily doing so since 1993.