Because of their almost zero friction, cleanness and long life, aerostatic bearings are commonly used in many applications where high precision of positioning is required, e.g. machine tools, measuring machines, semiconductor manufacturing and power board testing. However, air bearings suffer from low relative stiffness and poor damping. Active and passive compensation are two effective methods to enhance the static and dynamic performance of these kinds of bearings. Despite their higher performance, active compensation solutions are too expensive to be used in industrial applications, as a consequence of the costs related to their controllers, actuators and sensors. This paper presents the design and performance of a passive compensation method that exploits a diaphragm valve. Thanks to its ease of integration, satisfactory performance and relatively low cost, this method could be a valuable solution to increasing the stiffness of aerostatic bearings. This work provides a procedure to design diaphragm valves depending on the type of the integrated pad and the desired nominal air gap height. Results demonstrate that, once correctly designed, the diaphragm valve makes it possible to obtain bearings with quasi-static infinite stiffness at the selected air gap height.