A work machine comprising a work unit that performs work on a travel path, an internal combustion engine configured to generate power for driving the work unit, a traveling unit including a front wheel and a rear wheel, an electric motor configured to generate power for driving a first wheel of the front wheel and the rear wheel, a first clutch for switching between transmission and discontinuation of the power from the internal combustion engine to a second wheel of the front wheel and the rear wheel, and a switching control unit configured to control the first clutch based on a power consumption of the electric motor for switching between the transmission and the discontinuation.