The Noble Eightfold Path was taught by the Buddha, state the Pali Canon:
(…) Just this noble eightfold path: right view, right aspiration, right speech, right action, right livelihood, right effort, right mindfulness, right concentration. That is the ancient path, the ancient road, traveled by the Rightly Self-awakened Ones of former times. I followed that path. Following it, I came to direct knowledge of aging & death, direct knowledge of the origination of aging & death, direct knowledge of the cessation of aging & death, direct knowledge of the path leading to the cessation of aging & death. I followed that path. Following it, I came to direct knowledge of birth… becoming… clinging… craving… feeling… contact… the six sense media… name-&-form… consciousness, direct knowledge of the origination of consciousness, direct knowledge of the cessation of consciousness, direct knowledge of the path leading to the cessation of consciousness. I followed that path.
— The Buddha, Nagara Sutta, Samyutta Nikaya ii.124, Translated by Thanissaro Bhikkhu