During the 1920s and 1930s, when the only anticonvulsant drugs were the sedative bromides (discovered 1857) and phenobarbital (1912), the ketogenic diet was widely used and studied. This changed in 1938 when H. Houston Merritt, Jr. and Tracy Putnam discovered phenytoin (Dilantin), and the focus of research shifted to discovering new drugs. With the introduction of sodium valproate in the 1970s, drugs were available to neurologists that were effective across a broad range of epileptic syndromes and seizure types. The use of the ketogenic diet, by this time restricted to difficult cases such as Lennox–Gastaut syndrome, declined further.
The first modern study of fasting as a treatment for epilepsy was in France in 1911. Twenty epilepsy patients of all ages were "detoxified" by consuming a low-calorie vegetarian diet, combined with periods of fasting and purging. Two benefited enormously, but most failed to maintain compliance with the imposed restrictions. The diet improved the patients' mental capabilities, in contrast to their medication, potassium bromide, which dulled the mind.