Method for managing the traction and/or braking of the electric engines (1, 2) applied to the wheels of at least one axle of a trailer suitable for being towed by a motor vehicle, said trailer comprising: - at least part of a vehicle data line; - at least one loading cell suitable for measuring the traction or thrust force exerted on the trailer; - at least a group of traction batteries; - an electronic regulator suitable for regulating the charging and the power supply of said group of traction batteries and suitable for regulating the power supply to said motors (1, 2); said method comprising a sequence of steps for: - controlling the independent activation of the motors providing traction torque or braking torque in order to minimize said traction or thrust force; - controlling the management of the energy state of the batteries, in case of traction torque, by regulating the power supply to said motors (1, 2) from at least said batteries; in case of braking torque, by regulating the power supply of said braking torque and the recharging of said batteries by means of said motors, said method being characterized in that said sequence of steps for controlling the independent activation of the motors comprises: - checking of the vehicle's speed, and of the force delivered and measured by the loading cell: if said speed or said delivered force is equal to zero allowing only the recharging of said group of traction batteries; - if the vehicle ASR system is not intervening, if said speed is different than zero, and if said force is lower than zero, activating said motors (1, 2) to provide said traction torque; - if the vehicle ABS system is not intervening, if said speed is different than zero, and if said force is greater than zero activating said motors (1, 2) to provide said braking torque. - at least part of a vehicle data line; - at least one loading cell suitable for measuring the traction or thrust force exerted on the trailer; - at least a group of traction batteries; - an electronic regulator suitable for regulating the charging and the power supply of said group of traction batteries and suitable for regulating the power supply to said motors (1, 2); said method comprising a sequence of steps for: - controlling the independent activation of the motors providing traction torque or braking torque in order to minimize said traction or thrust force; - controlling the management of the energy state of the batteries, in case of traction torque, by regulating the power supply to said motors (1, 2) from at least said batteries; in case of braking torque, by regulating the power supply of said braking torque and the recharging of said batteries by means of said motors, - controlling the independent activation of the motors providing traction torque or braking torque in order to minimize said traction or thrust force; - controlling the management of the energy state of the batteries, in case of traction torque, by regulating the power supply to said motors (1, 2) from at least said batteries; in case of braking torque, by regulating the power supply of said braking torque and the recharging of said batteries by means of said motors, - checking of the vehicle's speed, and of the force delivered and measured by the loading cell: if said speed or said delivered force is equal to zero allowing only the recharging of said group of traction batteries; - if the vehicle ASR system is not intervening, if said speed is different than zero, and if said force is lower than zero, activating said motors (1, 2) to provide said traction torque; - if the vehicle ABS system is not intervening, if said speed is different than zero, and if said force is greater than zero activating said motors (1, 2) to provide said braking torque.