Champiñones al ajillo is three ingredients and one almost universal failure: grey, soft mushrooms swimming in a greyish liquid, instead of golden, concentrated pieces in a fragrant oil. The cause is almost always the same, and it is neither the heat nor the garlic.
A button mushroom is 92% water, held in a network of filaments called mycelium, whose structure is a true sponge. That water is only waiting to get out, and salt is precisely what invites it: through osmosis, it creates a concentration imbalance between the inside of the cells and the surface, and the water moves towards the salt. Salt at the moment you tip the mushrooms into the pan, and within three minutes you have a centimetre of liquid at the bottom.
From there, everything is decided: as long as there is free water, the temperature of the pan stays stuck at 100 °C, and the Maillard reactions, which produce browning and a roasted flavour, only appear above 140 °C. The mushroom does not brown, it simmers in its own juice. So salt at the last moment, off the heat or just before serving.
The second condition is empty space: a crowded pan cools down and traps steam, which has exactly the same effect as early salting. There must be room between the pieces, even if that means cooking in two batches.
Then there is the garlic that gives the dish its name. It goes in in slivers into the still-lukewarm oil and flavours it by infusion, then it is taken out before the heat goes up: above 150 °C, its sugars burn and it turns downright bitter. It comes back at the end, with the parsley.






