Question: I particularly enjoy the smell of coffee beans. Should I say a beracha when I smell them?
Answer: The Gemara (Berachos 43b) writes that one who smells an esrog or quince should recite the beracha, ‘..hanosen reiach tov bapeiros’ (He who places a nice aroma in the fruit). According to the Shulchan Aruch (OC 216:2), one says this beracha upon smelling an edible fruit, providing when they picked it up, they intended to smell it, regardless of whether they are eating it or not.
The Mishna Berura (216:9 quoting the Elya Rabba 216:5) writes that the correct wording is ‘..asher nasan reiach tov bapeiros,’ using the past tense rather than the present tense. The Ben Ish Chai (Vaeschanan 1:15) writes that as there is a doubt as to what the correct beracha should be, many avoid saying this beracha (See Kaf Hachaim OC 216:27). Nonetheless, R’ Ovadia Yosef (Chazon Ovadia, Berachos 216:15) writes that one may say it.
The Rema (OC 216:14) writes that there are some who say a beracha upon smelling bread straight from the oven, though concludes that one shouldn’t (See Beis Yosef OC 297). Based on this, the Kaf Hachaim (OC 216:86) writes that one wouldn’t recite a beracha upon smelling coffee.
Nonetheless, the Mishna Berura (216:16) writes that one should say a beracha upon smelling fresh coffee beans.
In conclusion, while there are some sefardim that avoid saying this beracha, one who enjoys the smell of coffee beans should say the beracha, ‘..asher nasan reiach tov bapeiros’ before smelling the coffee.