Early life and education
King's College, Cambridge
. Keynes's grandmother wrote to him saying that, since he was born in Cambridge, people will expect him to be clever.
John Maynard Keynes was born in
England, to an upper-middle-class family. His father,
John Neville Keynes, was an economist and a lecturer in
moral sciences at the University of Cambridge and his mother
Florence Ada Keynes a local social reformer. Keynes was the first born, and was followed by two more children – Margaret Neville Keynes in 1885 and
Geoffrey Keynes in 1887. Geoffrey became a surgeon and Margaret married the Nobel Prize-winning physiologist
According to the economist and biographer
Robert Skidelsky, Keynes's parents were loving and attentive. They remained in the same house throughout their lives, where the children were always welcome to return. Keynes would receive considerable support from his father, including expert coaching to help him pass his scholarship exams and financial help both as a young man and when his assets were nearly wiped out at the onset of
Great Depression in 1929. Keynes's mother made her children's interests her own, and according to Skidelsky, "because she could grow up with her children, they never outgrew home".
In January 1889 at the age of five and a half, Keynes started at the kindergarten of the
Perse School for Girls for five mornings a week. He quickly showed a talent for arithmetic, but his health was poor leading to several long absences. He was tutored at home by a governess, Beatrice Mackintosh, and his mother. In January 1892, at eight and a half, he started as a day pupil at
St Faith's preparatory school. By 1894, Keynes was top of his class and excelling at mathematics. In 1896, St Faith's headmaster, Ralph Goodchild, wrote that Keynes was "head and shoulders above all the other boys in the school" and was confident that Keynes could get a scholarship to Eton.
In 1897, Keynes won a scholarship to
Eton College, where he displayed talent in a wide range of subjects, particularly mathematics,
classics and history. At Eton, Keynes experienced the first "love of his life" in Dan Macmillan, older brother of the future Prime Minister
 Despite his middle-class background, Keynes mixed easily with upper-class pupils. In 1902 Keynes left Eton for
King's College, Cambridge, after receiving a scholarship for this also to read mathematics.
Alfred Marshall begged Keynes to become an economist,
 although Keynes's own inclinations drew him towards philosophy – especially the ethical system of
G. E. Moore. Keynes joined the
 and was an active member of the semi-secretive
Cambridge Apostles society, a debating club largely reserved for the brightest students. Like many members, Keynes retained a bond to the club after graduating and continued to attend occasional meetings throughout his life. Before leaving Cambridge, Keynes became the President of the
Cambridge Union Society and
Cambridge University Liberal Club. He was said to be an atheist.
In May 1904, he received a first class B.A. in mathematics. Aside from a few months spent on holidays with family and friends, Keynes continued to involve himself with the university over the next two years. He took part in debates, further studied philosophy and attended economics lectures informally as a graduate student for one term, which constituted his only formal education in the subject. He also studied for
Tripos in 1905 and, the following year took civil service exams.
Harry Johnson wrote that the optimism imparted by Keynes's early life is a key to understanding his later thinking.
 Keynes was always confident he could find a solution to whatever problem he turned his attention to, and retained a lasting faith in the ability of government officials to do good.
 Keynes's optimism was also cultural, in two senses: he was of the last generation raised by an empire still at the height of its power, and was also of the last generation who felt entitled to govern by culture, rather than by expertise. According to
Skidelsky, the sense of cultural unity current in Britain from the 19th century to the end of
World War I provided a framework with which the well-educated could set various spheres of knowledge in relation to each other and to life, enabling them to confidently draw from different fields when addressing practical problems.