The verse in words
The verse reads: Gurur brahma gurur vishnuh gurur devo maheshvarah. Guruh sakshat parabrahma tasmai shri gurave namah. Printed editions differ slightly in how they join the words, and some read param brahma instead of parabrahma, but this is the same verse.
Read in order, it says: the guru is Brahma, the guru is Vishnu, the guru is the divine Maheshvara. The guru is directly the Supreme Brahman. To that revered guru, salutations. You can hear it in many recitations, and our page for the verse has the text in Devanagari, Odia, Telugu and English with a video.
Word by word
Guruh means the teacher. Brahma, Vishnu and Maheshvara are the three divine functions the tradition names: creation, preservation and dissolution. Devah means god or divine being. Sakshat means directly, in front of the eyes. Parabrahma is the highest Brahman, the ultimate reality of the Upanishads. Tasmai means to that one, shri is a mark of respect, gurave is the form of guru for the one who is addressed, and namah is a bow, a salutation.
So the first line gives the guru the three roles by which the divine is described: one who brings into being the student's understanding, one who keeps it safe and one who removes what is false. That reading is a common way to explain the line, and it is an interpretation rather than a rule in the text. The second line goes one step further and says the guru is the highest reality made visible. It does not say a teacher is a god in a literal sense. It says the student should treat the person who gives knowledge with the greatest respect.
What the word guru means
A popular explanation splits the word into gu, darkness, and ru, the one who removes it, so a guru is one who dispels ignorance. The explanation is given in the Advayataraka Upanishad, where the verse numbering depends on the edition. Most modern sources repeat it, and it is useful for remembering why the guru is honoured. Linguists would call this a traditional etymology, a way of reading the word rather than a historical derivation.
In ordinary Indian use the word guru covers a school teacher, a music or dance master, a family priest and a spiritual teacher. The verse does not require that you have a spiritual guru. Many people say it for the teachers who taught them to read, sing or cook.
Where the verse comes from
The verse is commonly attributed to the Guru Gita, a long poem of praise to the guru in the form of a conversation between Shiva and Parvati, which tradition places in the Skanda Purana. The editions we checked do not give a verse number, and the verse is also sung on its own as a free-standing prayer, so we name no chapter or number. If you need a precise citation, look it up in the printed edition you use.
Guru Purnima
The verse is most often heard on Guru Purnima, the full moon of the month of Ashadha, which falls around June or July. The day is also called Vyasa Purnima because it is taken as the birthday of Veda Vyasa, the sage credited with dividing the Vedas and composing the Mahabharata. Students offer flowers, fruit or a bow to their teachers and many people read the Guru Gita.
The same full moon is honoured in other traditions. Buddhists remember the first sermon at Sarnath and begin the rainy-season retreat, and Jains honour their teachers at the start of Chaturmasya. The date changes every year, so check a panchang for the current one.
How to say it at home
There is no fixed number of repetitions. Many families say the verse once, standing or sitting quietly, before study or practice, and again at morning prayer. Pronounce guruh with a soft final h, and say gurave with three clear syllables. Children learn it quickly if the two lines are split into four short halves.
A sensible way to keep the spirit of the verse is to name a teacher you are thankful for before you say it. That keeps the words from becoming a rote sound. Nothing in the verse asks a student to stop thinking, and it promises no result in exams or in life.