A wheel loader comprising: an engine; a hydraulic pump which is driven by the engine; a variable capacity hydraulic motor which is driven by hydraulic oil which is discharged from the hydraulic pump; a motor capacity control section which controls the capacity of the hydraulic motor; moving wheels (4a, 4b) which are driven by the hydraulic motor; characterized in that the wheel loader further comprises an oil temperature detecting section which detects the temperature of the hydraulic oil; an accelerator opening detecting section which detects an accelerator opening; a forward and reverse switching operation member which performs a switching operation in order to output an instruction for switching to a moving state of the vehicle to any one of a forward state, a reverse state or a neutral state; an operation detecting section which detects a switching instruction from the forward and reverse switching operation member; and a control section which selectively executes a first control and a second control in a case where the accelerator opening is less than a first opening which is set in advance and a switching operation is performed by the forward and reverse switching operation member, the control section controlling the motor capacity control section in the first control so as to maintain the capacity of the hydraulic motor before and after the switching operation, the control section controlling the motor capacity control section in the second control such that the capacity of the hydraulic motor is a minimum value which is set in advance at each speed level, wherein the control section executes the first control in a case where the temperature of the hydraulic oil is equal to or less than a first temperature which is set in advance and executes the second control in a case where the temperature of the hydraulic oil is higher than the first temperature. an engine; a hydraulic pump which is driven by the engine; a variable capacity hydraulic motor which is driven by hydraulic oil which is discharged from the hydraulic pump; a motor capacity control section which controls the capacity of the hydraulic motor; moving wheels (4a, 4b) which are driven by the hydraulic motor; characterized in that the wheel loader further comprises an oil temperature detecting section which detects the temperature of the hydraulic oil; an accelerator opening detecting section which detects an accelerator opening; a forward and reverse switching operation member which performs a switching operation in order to output an instruction for switching to a moving state of the vehicle to any one of a forward state, a reverse state or a neutral state; an operation detecting section which detects a switching instruction from the forward and reverse switching operation member; and a control section which selectively executes a first control and a second control in a case where the accelerator opening is less than a first opening which is set in advance and a switching operation is performed by the forward and reverse switching operation member, the control section controlling the motor capacity control section in the first control so as to maintain the capacity of the hydraulic motor before and after the switching operation, the control section controlling the motor capacity control section in the second control such that the capacity of the hydraulic motor is a minimum value which is set in advance at each speed level, wherein the control section executes the first control in a case where the temperature of the hydraulic oil is equal to or less than a first temperature which is set in advance and executes the second control in a case where the temperature of the hydraulic oil is higher than the first temperature.