Refers to an action, process, or situation that has just been mentioned. It means roughly 'dabei' (in doing so), 'in diesem Zusammenhang' (in this context), or 'bei dieser Gelegenheit' (on this occasion) and is used mainly in written language.
example
Die Teilnehmer müssen einen Vertrag unterzeichnen; hierbei sind die Datenschutzbestimmungen zu beachten.
Participants must sign a contract; in this context, the data protection regulations must be observed.
Usage tips
Word structure
'Hierbei' (in this context) is a pronominal adverb made up of 'hier' (here) and the preposition 'bei' (by/with/at). Literally, it means 'with this matter' and always refers back to a previously mentioned situation or action.
EXAMPLE
Zuerst müssen Sie das Formular ausfüllen. Hierbei dürfen keine Fehler gemacht werden.
First you must fill out the form. In doing so, no mistakes may be made.
Sentence position
'Hierbei' (in this context) often stands at the beginning of the sentence in position 1. In that case, the conjugated verb follows directly after it in position 2. However, it can also appear inside the sentence after the verb and the subject.
EXAMPLE
Die Maschine ist sehr komplex. Hierbei ist Vorsicht geboten.
The machine is very complex. In this context, caution is required.
Style and register
This word belongs to formal written language and is often used in instructions, contracts, academic texts, or official speeches. In everyday spoken language, it often sounds stiff.
EXAMPLE
Der Autor analysiert verschiedene Theorien und kommt hierbei zu einem neuen Ergebnis.
The author analyzes various theories and, in this context, arrives at a new result.
Compare with
confusable
hierbei vs damit
so that / with it
'damit' and 'hierbei' can both refer to an action or thing, but they do not serve the same function. 'damit' can introduce a purpose: you do something so that something else happens. 'damit' can also mean: with this thing. 'hierbei' refers to an action that has just been mentioned and means roughly 'during this action' or 'in this context'. It sounds more written. Learners may confuse the words because both can point back to something earlier. If you want to express a goal, use 'damit'. If you want to say what is important during a mentioned action, 'hierbei' fits.
hierbei
Laura füllt das Formular für den Kurs aus; hierbei hilft ihr eine Mitarbeiterin.
Laura fills out the form for the course; a staff member helps her with this.
damit
Frau Demir schreibt die Adresse auf, damit sie den Bahnhof schnell findet.
Ms. Demir writes down the address so that she can find the station quickly.