To call Buddhism a "religion", a "philosophy" or a "path" is to choose a modern European category to describe something that was not born within it. The question is legitimate and useful, but the honest answer is that each label illuminates one face and hides another. This page presents the arguments and the academic discussion, without imposing an answer.
Where the question comes from
The terms "religion" and "philosophy" have their own history in the West. The first Europeans to study Buddhism, in the eighteenth and nineteenth centuries, were divided: for missionaries, it was a paganism or an "idolatry"; for some intellectuals (Schopenhauer, Nietzsche, and Buddhism, European Discovery), it was an atheistic and rational philosophy, closer to science. Later scholars pointed out that this emphasis reflects Western interests, a theme treated in Orientalism and the Construction of “Buddhism” and Buddhist Modernism. In Chinese and Japanese, the very word "religion" (宗教 zōngjiào, shūkyō) is a nineteenth-century neologism, coined in translating European terms.
The argument for philosophy
There are solid reasons to speak of Buddhist philosophy. Entire traditions discuss epistemology, ontology, logic and philosophy of mind with rigorous argumentation: the Madhyamaka of Nāgārjuna, the Yogācāra of Vasubandhu, the school of Dignāga and Dharmakīrti (Pramāṇa). Encyclopedias of philosophy, such as the Stanford, devote entries to these authors. See also Buddhism and Western philosophy, Buddhism and the philosophy of mind and Buddhism and phenomenology. Moreover, the Buddha refused dogma as a criterion of truth and invited personal verification, which gives Buddhism an empirical tone.
The argument for religion
On the other hand, Buddhism has everything that scholars usually call religion: monastic and lay community, rituals (Ritual, festivals, and culture, Pūjā and offerings, Funeral rites and ancestor veneration), objects of devotion (Buddhas and bodhisattvas, Amitābha, Tārā), cosmology (Buddhist Cosmology), ethics (Ethics and Monastic Life), experiences of refuge (Taking refuge) and a soteriological goal (Nirvāṇa). In the practice of most Buddhists throughout history, merit (Merit and the transfer of merit), offering and the protection of texts (paritta, see Paritta) weighed as much as philosophical analysis; see Popular Buddhism. Schools such as Pure Land are, in entire lineages, devotional.
"Path" and Buddhist self-understanding
The traditional self-description is "Dharma and Discipline" (dhamma-vinaya): a doctrine joined to a rule of life, and the Buddha said that this whole would be the teacher after his death (DN 16). The image of the path (magga, see Noble Eightfold Path) emphasizes that what matters is the transformation of the person: ethics, concentration, wisdom. For this reason many authors prefer "path" or "way of liberation", a category that avoids opposing faith to reason. The caveat is that "path" is also used in non-Buddhist contexts, as in Buddhism and Hinduism and Buddhism, Daoism and Confucianism; see the contrasts in Buddhism and Hinduism.
Atheist, non-theist or something else?
Classical Buddhism does not recognize a creator god as the origin and sustainer of the world, and criticizes arguments in its favor; but it accepts divine beings (devas) within the cycle of rebirths, and the Mahāyāna traditions venerate buddhas and bodhisattvas whose nature is debated. For this reason, "atheist" and "theist" are inexact labels. Each tradition must be read on its own terms: in Japanese Pure Land, for example, Amida is neither a creator god nor a psychological metaphor (see Amitābha).
Contemporary debates
Secular Buddhism proposes a practice without rebirth or rituals; traditional critics object that this amputates the Dharma (McMindfulness). Studies of Buddhism and science, Neuroscience of meditation and Buddhism, psychology and psychotherapy attract interest, with results discussed in Mindfulness. Contemporary scholars tend to reject the rigid dichotomy and to describe Buddhism as a set of traditions that combine philosophy, ritual and ethics in varying proportions.
What historical research teaches
Recent studies stress that the division between "the Buddhism of the texts" and "practiced Buddhism" is artificial. Philological and archaeological research shows monks involved with relics, stūpas and pilgrimage from early on (Pilgrimage, Stūpa, Pagoda and Temple, Aśoka and the Edicts). At the same time, the scholastic schools (Abhidharma, Pramāṇa) produced sophisticated technical debates that justify the philosophical reading. The tension between the two dimensions is discussed by scholars in Buddhist Studies, with names such as Gregory Schopen, Richard Gombrich and Dan Lusthaus.
In summary
"Religion", "philosophy" and "path" are partial lenses. Buddhism contains refined philosophical systems, rites and devotion, and a discipline of life. To understand it, it is advisable to ask which tradition, period and community is being spoken of; see What Is Buddhism? and Theravāda, Mahāyāna and Vajrayāna.