How do I set my espresso machine to 9 bar?
Adjust the over-pressure valve, the OPV, while running water through a blind basket and watching the gauge. Many machines ship set at 10 to 12 bar and come down to a more useful 9 bar with a small turn of one screw or nut.
Vibratory pumps in home machines can produce well over 9 bar, and the OPV is the valve that bleeds off the excess and sets the ceiling the puck actually sees. Factory settings are often on the high side, partly because pressurized baskets need it. Dropping to around 9 bar generally gives a gentler, less turbulent extraction with less channeling and a sweeter shot, which is why it is one of the most common first modifications.
The measurement method matters. To read static pressure, lock in a blind basket, run the pump, and read the gauge once it settles. That is a true reading of the OPV setting because no water is flowing through coffee. Reading the gauge during a normal shot shows you a lower, dynamic number, which is useful information but is not what you are setting.
The adjustment itself is model-specific. On many machines the OPV is a spring-loaded valve with a screw or a locknut: turning it one way compresses the spring and raises the pressure, the other way lowers it. Work in small increments, an eighth of a turn at a time, and re-measure after each one. On machines without a gauge you will need an inline gauge that fits a portafilter, which is an inexpensive tool and worth borrowing or buying if you plan to do this properly.
Safety first, and this is not boilerplate. Unplug the machine and let it cool before opening the case, then be aware that you will need it powered and running to test, so plan the sequence: adjust cold, close up enough to be safe, power on, test, power off, adjust again. Do not reach into a live machine, and do not open a machine that is under warranty without checking what that voids.
Finally, calibrate your expectations. 9 bar is a convention, not a law of physics, and plenty of excellent espresso is pulled at 6 to 8 bar, particularly with light roasts and flow control. The reason to set the OPV is to know your number and make it repeatable, not because a specific figure is magic. If your shots taste good and your gauge reads 10, the gauge is not the problem.