Must I consciously intend to fulfill the mitzvah while hearing the shofar?
Fulfilling a Torah obligation requires the intention to fulfill it. However, conscious preparation for a mitzvah counts as an intention that continues throughout its performance. Someone who came to synagogue intending to hear the shofar therefore fulfills the mitzvah even without actively thinking about fulfilling the obligation during the blasts.
A practical halachic question: the final ruling is for your rabbi.
Quote from the source«One who does the mitzvah without that intent does not fulfill his obligation.»
- Author
- Rabbi Chaim Hillel Raskin
- Source
- Lemaan Yishmeu — 322 - Rosh Hashana, p. 2