The invention discloses a method for controlling gear shifting of a vehicle. The method comprises the first step of detecting the times of the gear shifting and gear positions of the vehicle in first preset time, the second step of judging whether the vehicle enters a road jamming control mode or not according to the times of the gear shifting and the gear positions, the third step of controlling gears of the vehicle to be shifted from the current gear to a neutral gear or from the neutral gear to a preset gear when the vehicle enters the road jamming control mode. By means of the method, frequent gear shifting between a first gear and a second gear under the jamming city road situation is avoided, gear shifting pause brought by frequent gear shifting is avoided, meanwhile, excessive friction, between a first gear clutch and a second gear clutch, brought by the frequent gear shifting is eliminated, the service life of the clutches is prolonged, and the risks that the first gear clutch and the second gear clutch are burned are reduced.