Perfect Coffee Extraction: How to Avoid Bitter and Sour Flavors
Every coffee drinker has experienced both ends of the bad cup spectrum. On one side, there is the cup that makes you wince, sharp and sour, almost like diluted lemon water with a coffee smell attached to it. On the other side, there is the cup that tastes harsh and drying, bitter in a way that coats the back of your throat and lingers uncomfortably long after you swallow. Neither is what coffee is supposed to taste like, and both are the result of the same underlying problem: extraction that has gone wrong in one direction or the other.
This is not a niche concern for coffee enthusiasts only. Anyone who drinks coffee regularly, whether they make it at home, stop at a cafe near me on the way to work, or sit down at a San Francisco brunch spot on a weekend morning, is affected by extraction quality every single day. The difference between a cup that is genuinely enjoyable and one that you drink because you need the caffeine almost always comes down to whether the coffee was extracted correctly. Understanding what extraction means, why it goes wrong, and how to fix it gives you real tools for getting a better cup every time, regardless of your brewing setup.
In San Francisco, where specialty coffee culture has raised the standard for what a well-made cup should taste like, extraction is something that serious baristas think about constantly. The best cafes in the Bay Area have built their reputations on getting this right with consistency, and the knowledge behind that consistency is not proprietary. It is learnable, and it applies equally whether you are pulling espresso at a specialty coffee San Francisco cafe or making filter coffee at home before heading out for the day.
What Extraction Actually Means
Extraction is the process by which water dissolves soluble compounds out of ground coffee and carries them into the liquid you drink. Ground coffee contains a wide range of compounds, including acids, sugars, oils, bitter compounds, and aromatic molecules, and they do not all dissolve at the same rate or in the same order. This is the key insight that makes extraction both interesting and controllable.
The compounds that dissolve first are the acidic ones. These include organic acids like citric acid, malic acid, and acetic acid, which contribute fruity, bright, and tangy flavors to the cup. They are highly soluble and come out of the coffee quickly. If extraction stops here, before the water has had time to pull out more complex compounds, the result is a sour, thin, underdeveloped cup. This is under-extraction, and it is what produces that sharp, almost vinegary flavor that makes you pull your face when you take the first sip.

After the acids come the sugars and the more complex flavor compounds that contribute sweetness, body, and the pleasant bitterness that a good cup of coffee should have. These take longer to dissolve and require sustained contact between the water and the grounds. A properly extracted coffee pulls out enough of these compounds to balance the acidity from the first phase and create a cup that is well-rounded and satisfying.
If extraction continues too long, or if conditions favor pulling out more than is desirable, the water starts dissolving the harshest bitter compounds in the coffee. These are high-molecular-weight phenols and other compounds that take the longest to become soluble. When they enter the cup in quantity, they dominate the flavor and produce the harsh, astringent bitterness that makes a coffee unpleasant to drink. This is over-extraction, and it is responsible for some of the worst cups you will ever taste.
The goal of every brewing method is to extract enough of the good compounds and stop before the bad ones take over. The extraction window where a coffee is balanced, complex, and enjoyable is actually quite precise, which is why small changes in brewing variables can have a dramatic effect on the flavor of the final cup.
The Variables That Control Extraction
There are five primary variables that control how extraction unfolds in any brewing method: grind size, water temperature, brew ratio, contact time, and water quality. Each one can be adjusted independently, and understanding what each does gives you the ability to diagnose problems and make targeted corrections.
Grind size is the most powerful variable and the first place to look when a cup tastes wrong. A finer grind creates more surface area for the water to contact, which means faster and more complete extraction. A coarser grind reduces surface area and slows extraction. When coffee tastes sour and thin, grind finer. When it tastes harsh and bitter, grind coarser. This relationship is direct, consistent, and reliable across every brewing method.
For espresso, the grind must be very fine because the water passes through in only 25 to 30 seconds. For pour-over, it is medium. For French press and cold brew, it is coarser. Using the wrong grind for your method is one of the most common reasons home coffee tastes wrong.

Water temperature controls how quickly and aggressively the water dissolves compounds from the grounds. Hotter water extracts faster and pulls out more. Cooler water extracts more slowly and selectively. The generally accepted range for most brewing methods is between 195 and 205 degrees Fahrenheit, just below a rolling boil. Water below 195 degrees tends to under-extract, leaving too many compounds undissolved and producing a sour, underdeveloped cup.
Water above 205 degrees can over-extract too aggressively, particularly pulling out bitter compounds that would not dissolve at lower temperatures. If your coffee consistently tastes harsh despite a good grind size and ratio, brewing at slightly cooler temperatures can help. If it tastes flat and sour, a slightly higher temperature may push extraction in the right direction.
Brew ratio refers to the proportion of coffee to water used in any given brew. The Specialty Coffee Association recommends a ratio of about 1 gram of coffee to 15 to 17 grams of water for filter brewing as a starting point, though this varies by preference and method. Using too little coffee relative to water means the water extracts too much from each gram of grounds in order to achieve any reasonable strength, which can push extraction toward the harsh end.
Using too much coffee relative to water can mean under-extraction because there are so many grounds that the water passes through before dissolving enough from any of them. Adjusting the ratio changes both the strength and the extraction level of the cup.
Contact time is how long the water and coffee are in contact with each other. In pour-over brewing, this is determined by how long it takes the water to flow through the grounds into the cup below. In French press, it is the steeping time before you press the plunger. In espresso, it is the shot time from when water enters the puck to when it stops flowing. Longer contact time means more extraction. Shorter means less. This variable interacts with grind size in important ways: a finer grind in a pour-over will slow the flow and increase contact time, which amplifies extraction. A coarser grind speeds the flow and shortens contact time.
Water quality is the variable most people overlook, but it matters more than most realize. Coffee is more than 98 percent water, so the mineral content and purity of the water directly affect how extraction works. Water with very low mineral content, like distilled water, does not extract coffee compounds efficiently because minerals in the water actually help facilitate the dissolution process. Water with very high mineral content can interfere with extraction in different ways and introduce off-flavors.
Chlorine and chloramine in tap water react with coffee compounds and produce flat, sometimes medicinal-tasting cups. Good specialty cafes and artisan coffee Bay Area operations filter their water to remove chlorine while maintaining beneficial mineral levels, and this single practice makes a noticeable difference in cup quality. At home, a simple pitcher filter improves things considerably.
Diagnosing and Fixing Your Cup
Once you understand the variables, fixing a bad cup becomes a straightforward process of identifying what went wrong and adjusting the right thing. The flavor of the coffee tells you exactly what happened during extraction if you know how to read it.
A sour, sharp, thin cup with little body is under-extracted. The water did not dissolve enough of the sweet, complex compounds that balance the early acidity. The fix is to increase extraction: grind finer, brew slightly hotter, extend contact time, or use slightly more coffee relative to water. Making one change at a time helps you understand which variable had the most impact.
A harsh, bitter, drying cup with an unpleasant finish that lingers is over-extracted. The water pulled out too many of the high-molecular-weight bitter compounds. The fix is to decrease extraction: grind coarser, brew at a slightly lower temperature, shorten contact time, or use slightly less coffee relative to water. If bitterness is persistent across multiple adjustments, consider whether the beans are too dark a roast for the brewing method, since dark roasts have more bitter compounds available to extract and are less forgiving of extraction errors.
A flat, bland cup with no real flavor in either direction usually points to water quality issues, stale beans, or a grind that is too coarse. Fresh beans make a significant difference here: coffee is most flavorful in the two to four weeks after roasting and declines noticeably after that. Buying from SF coffee roasters or locally roasted coffee in San Francisco sources means you are more likely to get beans that are genuinely fresh, which gives extraction something worth extracting in the first place.
A cup that is simultaneously sour and bitter, which sounds contradictory but does happen, usually means the grind is too fine and the contact time is too short, or the coffee is very old and has lost most of its desirable flavor compounds while the bitter ones remain. Fresh beans and a grind adjustment usually resolve this.
At Doppio Coffee & Brunch on Mission St, every espresso drink made with Lavazza beans goes through a daily dialing-in process where the barista adjusts the grind and evaluates shots to make sure extraction is hitting the right target. This is standard practice at any cafe that takes its coffee seriously, and it is one of the main reasons that a handcrafted espresso drink at a good SF cafe tastes so different from a cup made on an office machine with pre-ground coffee and no attention to any of these variables.

The cozy stylish interior and the aroma that fills the space are partly the result of coffee being prepared correctly every time, because properly extracted coffee smells as good as it tastes.
If you are someone who enjoys a good cup whether you make it at home or visit SF brunch spots and specialty coffee shops in SF regularly, these principles are worth keeping. They apply to every method and every roast level. The more you pay attention to how your adjustments affect the flavor, the faster your instincts develop and the more consistently you can produce a cup that is genuinely satisfying. Good extraction is not about perfection in some abstract sense. It is simply about pulling out what makes the coffee taste like it should, and leaving behind what does not.