Bernheim received his education in his native town and at the University of Strasbourg, where he was graduated as doctor of medicine in 1867.
When, in 1871, after the Franco-Prussian war, Strasbourg passed to Germany, Bernheim moved to Nancy (where he met and later collaborated with Dr. Ambroise-Auguste Liébeault), in the university of which town he became clinical professor.