The invention discloses a pressure retaining valve used for an automobile tire inflation and deflation system. The pressure retaining valve comprises a valve deck, a valve body, a valve seat, a first conical spring, a membrane piece, a gasket, a first O-shaped ring, a silencer, a nozzle, a rubber blanket, a second conical spring, a second O-shaped ring, a movable iron core, a stationary iron core, a third O-shaped ring, a wiring harness plug and an electromagnetic coil; the valve deck is installed on the valve body, the valve seat is installed at the bottom of the valve body, the membrane piece is installed below the valve deck, the first conical spring is installed at the position of the membrane piece, the gasket is installed below the membrane piece, the movable iron core is installed below the nozzle, the second conical spring is installed at the position of the nozzle, the rubber blanket is installed at the top of the movable iron core, the stationary iron core is installed at the bottom of the movable iron core, and the silencer is communicated with the bottom of the stationary iron core through an air flue. According to the pressure retaining valve, the reliability is good, the membrane piece is adopted for controlling the opening and closing of a gas port, compared with a piston type valve, the durability is better, the high temperature resistance and the low temperature resistance are better, and no lubrication is needed; a solenoid valve is adopted for conducting pilot control to an air chamber over the membrane piece, the power is low, and the energy consumption is little.