A pilot valve (1, 101, 201) comprising: a pilot valve body (102, 202) comprising: a chamber, a first fluid inlet (20, 120) and a second fluid inlet (22, 122) for providing fluid to said chamber, and a fluid outlet (24, 124) for receiving fluid from said chamber; a valve rod (30, 130) arranged at least partly inside said chamber, said valve rod (30, 130) being configured to control fluid flow from said first fluid inlet (20, 120) to said fluid outlet (24, 124) via said chamber, and configured to control fluid flow from said second fluid inlet (22, 122) to said fluid outlet (24, 124) via said chamber; a separating element being connected to, and movable with said valve rod (30, 130), said separating element having a first fluid contacting area, and a second fluid contacting area arranged on an opposite side to said first fluid contacting area, said first fluid contacting area being configured to be in fluid communication with said first fluid inlet (20, 120) for applying a first force to said separating element, and said second fluid contacting area being configured to be in fluid communication with said second fluid inlet (22, 122) for applying a second force to said separating element; wherein a difference between said first and second forces controls the movement of the separating element and the valve rod (30, 130) in such a way that said valve rod (30, 130) in at least a first position provides for a fluid communication between said first fluid inlet (20, 120) and said fluid outlet (24, 124); and in at least a second position provides for a fluid communication between said second fluid inlet (22, 122) and said fluid outlet (24, 124). a pilot valve body (102, 202) comprising: a chamber, a first fluid inlet (20, 120) and a second fluid inlet (22, 122) for providing fluid to said chamber, and a fluid outlet (24, 124) for receiving fluid from said chamber; a valve rod (30, 130) arranged at least partly inside said chamber, said valve rod (30, 130) being configured to control fluid flow from said first fluid inlet (20, 120) to said fluid outlet (24, 124) via said chamber, and configured to control fluid flow from said second fluid inlet (22, 122) to said fluid outlet (24, 124) via said chamber; a separating element being connected to, and movable with said valve rod (30, 130), said separating element having a first fluid contacting area, and a second fluid contacting area arranged on an opposite side to said first fluid contacting area, said first fluid contacting area being configured to be in fluid communication with said first fluid inlet (20, 120) for applying a first force to said separating element, and said second fluid contacting area being configured to be in fluid communication with said second fluid inlet (22, 122) for applying a second force to said separating element; wherein a difference between said first and second forces controls the movement of the separating element and the valve rod (30, 130) in such a way that said valve rod (30, 130) in at least a first position provides for a fluid communication between said first fluid inlet (20, 120) and said fluid outlet (24, 124); and in at least a second position provides for a fluid communication between said second fluid inlet (22, 122) and said fluid outlet (24, 124).