Gymnosophists (Ancient Greek γυμνοσοφισταί, gumnosophistaí, i.e. "naked philosophers" or "naked wise men") is the name given by the Greeks to certain ancient Indian philosophers who pursued asceticism to the point of regarding food and clothing as detrimental to purity of thought. They were noted to have been vegetarian by several Greek authors. There were also gymnosophists in upper Egypt who were called Ethiopean Gymnosophists by Apollonius of Tyana.
In Greek literature they are mentioned in association with the Persian magi, the Chaldaeans of the Assyrians or the Babylonians, the druids of the Celts, and the priests of Egypt, etc.  Some sources claim that famous figures such as Lycurgus and Democritus may have met them. They are mentioned by authors such as Philo, Lucian, Clement of Alexandria, Philostratus, and Heliodorus of Emesa. These reports are thought to have served as models to Cynics as well as Christian ascetics. Many authors have discussed the purported questions by Alexander the Great and answers by the Gymnosophists.
The term was used by Plutarch (c. CE 46 – CE 120) in the 1st century CE, when describing an encounter by Alexander the Great with ten gymnosophists near the banks of the Indus river in what is now Pakistan.
He (Alexander) captured ten of the gymnosophists who had done most to get Sabbas to revolt, and had made the most trouble for the Macedonians. These philosophers were reputed to be clever and concise in answering questions, and Alexander therefore put difficult questions to them, declaring that he would put to death him who first made an incorrect answer, and then the rest, in an order determined in like manner; and he commanded one of them, the oldest, to be the judge in the contest. The first one, accordingly, being asked which, in his opinion, were more numerous, the living or the dead, said that the living were, since the dead no longer existed. The second, being asked whether the earth or the sea produced larger animals, said the earth did, since the sea was but a part of the earth. The third, being asked what animal was the most cunning, said: "That which up to this time man has not discovered." The fourth, when asked why he had induced Sabbas to revolt, replied: "Because I wished him either to live nobly or to die nobly." The fifth, being asked which, in his opinion, was older, day or night, replied: "Day, by one day"; and he added, upon the king expressing amazement, that hard questions must have hard answers. Passing on, then, to the sixth, Alexander asked how a man could be most loved; "If," said the philosopher, "he is most powerful, and yet does not inspire fear." Of the three remaining, he who was asked how one might become a god instead of man, replied: "By doing something which a man cannot do"; the one who was asked which was the stronger, life or death, answered: "Life, since it supports so many ills." And the last, asked how long it were well for a man to live, answered: "Until he does not regard death as better than life." So, then, turning to the judge, Alexander bade him give his opinion. The judge declared that they had answered one worse than another. "Well, then," said Alexander, "thou shalt die first for giving such a verdict." "That cannot be, O King," said the judge, "unless thou falsely saidst that thou wouldst put to death first him who answered worst." These philosophers, then, he dismissed with gifts...— Plutarch, Life of Alexander, "The parallel lives", 64-65.
Diogenes Laërtius (fl. 3rd century AD) refers to them, and reports that Pyrrho of Ellis was influenced by the gymnosophists while in India with Alexander the Great, and on his return to Ellis, imitated their habits of life and caused him to found the Hellenistic philosophy of Pyrrhonism.
Strabo (64 or 63 BC – c. AD 24) says that gymnosophists were religious people among the Indians (XVI,I), and otherwise divides Indian philosophers into Brahmins and Śramaṇas, following the accounts of Megasthenes. He further divides the Sramanas into "Hylobioi" (forest hermits, c.f. Aranyaka) and "Physicians."
Of the Sarmanes, the most honourable, he says, are the Hylobii, who live in the forests, and subsist on leaves and wild fruits: they are clothed with garments made of the bark of trees, and abstain from commerce with women and from wine.— Strabo XV, I,60
Of the Sarmanes (...) second in honour to the Hylobii, are the physicians, for they apply philosophy to the study of the nature of man. They are of frugal habits, but do not live in the fields, and subsist upon rice and meal, which every one gives when asked, and receive them hospitably. (...) Both this and the other class of persons practise fortitude, as well in supporting active toil as in enduring suffering, so that they will continue a whole day in the same posture, without motion.— Strabo XV, I,60
Philo Judaeus (c. 20 BCE – c. 50 CE), also called mentions the gymnosophists twice in the course of listing foreign ascetics and philosophers who are, in his estimation, "prudent, and just, and virtuous" and therefore truly free:
And among the Indians there is the class of the gymnosophists, who, in addition to natural philosophy, take great pains in the study of moral science likewise, and thus make their whole existence a sort of lesson in virtue.— Philo Judaeus, Every Good Man is Free, 74
But it is necessary for us...to bring forward as corroborative testimonies the lives of some particular good men who are the most undeniable evidences of freedom. Calanus was an Indian by birth, one of the gymnosophists; he, being looked upon as the man who was possessed of the greatest fortitude of all his contemporaries, and that too, not only by his own countrymen, but also by foreigners, which is the rarest of all things, was greatly admired by some kings of hostile countries, because he had combined virtuous actions with praiseworthy language.— Philo Judaeus, Every Good Man is Free, 92-93.
In the 2nd century CE, the Christian theologian Clement of Alexandria distinguishes the gymnosophists, the philosophers of the Indians, from the Sramanas, "the philosophers of the Bactrians":
Philosophy, then, with all its blessed advantages to man, flourished long ages ago among the barbarians, diffusing its light among the gentiles, and eventually penetrated into Greece. Its hierophants were the prophets among the Egyptians, the Chaldeans among the Assyrians, the Druids among the Galatians, the Sramanas of the Bactrians, and the philosophers of the Celts, the Magi among the Persians who announced beforehand the birth of the Saviour, being led by a star till they arrived in the land of Judaea, and among the Indians the Gymnosophists, and other philosophers of barbarous nations.
The philosophical, religious, and tribal identities of the gymnosophists that the Greeks encountered in the 3rd Century B.C. at the town of Taxila in Ancient India were not preserved in the ancient Greek literature, leading to much modern speculation. The following have been proposed as non-mutually exclusive possibilities.
Some sects of Brahmins belonging to Hinduism remained naked, lived in forest, practice austerities, shaved heads, ate only fruits and milk, meditated. The Greeks encountered such naked Brahmins of whom Dandamis and Calanus are noted in history.
The Hindu Naga sadhus ("naked saints") took part in war and encouraged people to revolt against Greeks. Alexender was much troubled by these naked people of India. Only Naga Sadhus, in India have been historically known to carry arms, learn martial arts which are promoted in their akharas. They move totally naked except for the arms they carry. The Naga sadhus [nb 1], are often called Indian gymnosophists. They are mostly worshipers of Shiva and carry Trishula, swords and even other weapons. They were known for taking arms for defending faith. They have the right to lead the procession at Kumbh Melas.
The school of naked philosophers in upper Egypt was visited by the Neopythagorean philosopher Apollonius of Tyana (c. 15 – c. 100 AD) who called them Ethiopian Gymnosophists. Apollonius had met the gymnosophists of India before his arrival in Egypt, and repeatedly compared the Ethiopian Gymnosophists with them. He regarded them to be derived from the Indians. They lived without any cottages nor houses, but had a shelter for the visitors. They did not wear any clothes and thus compared themselves to the Olympian athletes. They shared their vegetarian meal with him.
- They own several akharas and their movements were also of concern to British, who always kept a watchful eyes on them.
- γυμνοσοφισταί. Liddell, Henry George; Scott, Robert; A Greek–English Lexicon at the Perseus Project
- Apollonius of Tyana, SECTION X, THE GYMNOSOPHISTS OF UPPER EGYPT, by G.R.S. Mead, [1901,]
- The Gymnosophist Riddle Contest (Berol. P. 13044): A Cynic Text? Philip R. Bosman, 2010
- Alexander's Dialogue with Indian Philosophers. Riddle in Greek and Indian Tradition, A Szalc - Eos, 2011
- Life of Alexander, 64-65
- (ix. 61 and 63)
- Doniger, Wendy (2014). On Hinduism. OUP USA. p. 50. ISBN 9780199360079. Retrieved 25 July 2019.
- James Lochtefeld, "Ajivika", The Illustrated Encyclopedia of Hinduism, Vol. 1: A–M, Rosen Publishing. ISBN 978-0823931798, page 22
- John Williams (1829). The Life and Actions of Alexander the Great. John Murray. p. 314.
- The Greeks in India: a survey in philosophical understanding. Demetrios Theodossios Vassiliades. 2000. pp. 46, 49.
-  The Greeks in India:a survey in philosophical understanding, page 49
- The Penguin book of Indian journeys by Dom Moraes. Viking. 2001. p. 97.
- Autobiography of a Sadhu: A Journey Into Mystic India By Rampuri. 2010. p. 102.
- The Spectator, Volume 256, 1986 - pp 16...the naked ash-smeared Naga sadhus — whom Alexander's men called the gymnosophists — are the most prized.
- A handbook of Sanskṛit literature: with appendices descriptive of the ... By George Small (M.A.). George Small (M.A.). 1866. p. 191.
- Pilgrimage and power: the Kumbh Mela in Allahabad, 1765-1954 By Kama Maclean. 2008. p. 183.
- Jacquetta Hopkins Hawkes, The Atlas of Early Man, St. Martin's Press, 1993.
- Professor A.L. Basham, My Guruji, Sachindra Kumar Maity, 1997.
- Journal of the Royal Asiatic Society, Volume 6 By Royal Asiatic Society of Great Britain and Ireland. 1841. p. 384.
- Theios Sophistes: Essays on Flavius Philostratus' Vita Apollonii edited by Kristoffel Demoen, Danny Praet. 2009. p. 273.
- Philostratus, Flavius (1809). The life of Apollonius of Tyana: Translated from the greek of Philostratus. Translated by Berwick, Edward. London. p. 322.
- Segovia, Fernando F.; Sugirtharajah, R. S., eds. (2009). A Postcolonial Commentary on the New Testament Writings. Sheffield: Sheffield University Press. p. 149. ISBN 978-0-567-63707-9.