The maximum number of unattacked vacant cells that can be reached for five queens on a 5x5 board is three. The unique solution (except for rotations and reflections) is shown in the illustration. The unattacked vacant cells are marked with red dots.