A water sprayer includes a housing, a control valve, a valve seat, a nozzle unit, a valve shaft, and a control button. Thus, the first nozzle and the second nozzle of the nozzle unit provide two different water spraying modes so that the water is injected outwardly from the nozzle unit in two different spraying modes according to a user's requirements, thereby enhancing the versatility of the water sprayer. In addition, the water sprayer is switched between two different spraying modes by pressing of the control button, thereby facilitating the user operating the water sprayer.