Valve for a compartmentalized tyre, wherein said valve has a body which has: a) a first end configured for coupling to inflation/deflation means of a compartmentalized tyre or tube; b) a second end (18, 19), opposite the first end, configured for coupling to an inflation/deflation duct of the compartmentalized tyre or tube; c) a flow channel between the first end and the second end; d) an opening/closing cover of the flow channel solidly joined to a mobile rod; e) at least two cavities (7, 14, 16) located in the interior of the valve body: e1) a first cavity comprising first connection means to a first compartment of the tyre or tube; e2) a second cavity comprising second connection means to a second compartment of the tyre or tube; f) a communication channel between the first cavity and the second cavity; g) at least one of the first and second cavities located in the interior of the valve body is adapted to be displaced with respect to the valve body, this cavity having its wall solidly joined to the mobile rod so this mobile cavity and the mobile rod are adapted to be displaced at the same time; h) at least one of the first and second cavities located in the interior of the valve body is fixed with respect to the valve body; characterized in that: i) there is a fixed closing surface with respect to the valve body, forming an angle with the displacement direction of the mobile cavity, constituting a cover of the communication channel between the fixed cavity and the mobile cavity such that: i1) in the rod resting position, the fixed closing surface is adapted to block the communication channel between the fixed cavity and the mobile cavity, preventing any gas or liquid flow between both cavities; i2) in the rod displacement position, the fixed closing surface is separated from the communication channel between the fixed cavity and the mobile cavity, allowing gas or liquid flow between both cavities. a) a first end configured for coupling to inflation/deflation means of a compartmentalized tyre or tube; b) a second end (18, 19), opposite the first end, configured for coupling to an inflation/deflation duct of the compartmentalized tyre or tube; c) a flow channel between the first end and the second end; d) an opening/closing cover of the flow channel solidly joined to a mobile rod; e) at least two cavities (7, 14, 16) located in the interior of the valve body: e1) a first cavity comprising first connection means to a first compartment of the tyre or tube; e2) a second cavity comprising second connection means to a second compartment of the tyre or tube; e1) a first cavity comprising first connection means to a first compartment of the tyre or tube; e2) a second cavity comprising second connection means to a second compartment of the tyre or tube; f) a communication channel between the first cavity and the second cavity; g) at least one of the first and second cavities located in the interior of the valve body is adapted to be displaced with respect to the valve body, this cavity having its wall solidly joined to the mobile rod so this mobile cavity and the mobile rod are adapted to be displaced at the same time; h) at least one of the first and second cavities located in the interior of the valve body is fixed with respect to the valve body; i1) in the rod resting position, the fixed closing surface is adapted to block the communication channel between the fixed cavity and the mobile cavity, preventing any gas or liquid flow between both cavities; i2) in the rod displacement position, the fixed closing surface is separated from the communication channel between the fixed cavity and the mobile cavity, allowing gas or liquid flow between both cavities.