530. Reciting the Wrong Bracha
Brachos 8:10
If someone recited Borei pri ho’adamah over fruit that grew on trees, he nevertheless fulfills his obligation. However, if one recited Borei pri ho’eitz over fruit that grew from the ground, he does not fulfill his obligation. If one recites shehakol over any food, he fulfills his obligation; this is true even of bread and wine.
Brachos 8:11
If a person takes a glass of beer and starts to recite a bracha, intending to say shehakol, but he made a mistake and said Borei pri hagafen, he need not repeat the bracha. Similarly, if fruit that grew from the ground were in front of a person and he started to recite a bracha, intending to say Borei pri ho’adamah, but he made a mistake and said Borei pri ho’eitz, he need not repeat the bracha. If a dish of grain was in front of him and he started to recite a bracha, intending to say Borei minei mezonos but he made a mistake and said haMotzi, he fulfills his obligation. All this is because when he recited God's Name and the mention His kingship - which are the main part of the bracha - he intended to recite the appropriate bracha for the food in question. Therefore, since the main part of the bracha was not in error, he is considered to have fulfilled his obligation. Therefore, one need not repeat a bracha in such a case even though he made a mistake in the bracha’s conclusion.