A control method for carrying out a gear shift in a transmission provided with a dual-clutch gearbox, so as to shift from a current gear to a following gear; the transmission comprises a dual-clutch gearbox having two primary shafts, at least one secondary shaft connected to drive wheels, and two clutches, each of which is interposed between a drive shaft of an engine and a corresponding primary shaft, is in an oil bath and is pressure-controlled, namely the degree of opening/closing of the clutch is determined by the pressure of the oil on the inside of said clutch; wherein each clutch (16A, 16B) comprises at least one solenoid valve which controls the input of oil into the clutch (16A, 16B) and controls the output of oil from the clutch (16A, 16B); the control method comprises the steps of: receiving a gear-shift command; opening a first clutch associated with the current gear; filling with oil a second clutch associated with the following gear after receiving the gear-shift command; and closing the second clutch as soon as the oil filling ends; the control method is characterized in that it comprises the further steps of: after receiving the gear-shift command, arranging and maintaining the solenoid valve of the second clutch in a completely open filling position with open-loop control so that the second clutch is filled with oil always supplied at the greatest possible oil flow rate from the start to the end of the filling and the second clutch is subsequently closed maintaining the solenoid valve in the completely open filling position until said second clutch is completely closed; detecting the moment in which oil filling in the second clutch ends and thus the closing of the second clutch starts; and as soon as the oil filling in the second clutch ends, arranging and maintaining the solenoid valve of the first clutch in a completely open emptying position with open-loop control so that the first clutch is emptied of the oil, and is then opened, always extracting the greatest possible oil flow rate from the start to the end of emptying. receiving a gear-shift command; opening a first clutch associated with the current gear; filling with oil a second clutch associated with the following gear after receiving the gear-shift command; and closing the second clutch as soon as the oil filling ends; after receiving the gear-shift command, arranging and maintaining the solenoid valve of the second clutch in a completely open filling position with open-loop control so that the second clutch is filled with oil always supplied at the greatest possible oil flow rate from the start to the end of the filling and the second clutch is subsequently closed maintaining the solenoid valve in the completely open filling position until said second clutch is completely closed; detecting the moment in which oil filling in the second clutch ends and thus the closing of the second clutch starts; and as soon as the oil filling in the second clutch ends, arranging and maintaining the solenoid valve of the first clutch in a completely open emptying position with open-loop control so that the first clutch is emptied of the oil, and is then opened, always extracting the greatest possible oil flow rate from the start to the end of emptying.