Ideas of space: Euclidean, non-Euclidean, and relativistic. Oxford University Press 1979, 2nd edition 1989, Spanish edition, Ideas de Espacio, Mondadori Espana, 1992. Romanian edition, Idei Spatiu, Editura All Educational, 1998.
Linear differential equations and group theory from Riemann to Poincaré Birkhäuser, 1986, 2nd edition with three new appendices and other additional material, 2000, Japanese edition 2002.
Geometry (with D.A. Brannan and M. Esplen). Cambridge University Press 1999, 2nd edition 2012, Arabic edition 2001.
The Hilbert Challenge. Oxford University Press 2000,[8][9] French translation Le défi de Hilbert Dunod, 2003, Taiwanese translation 2003, Spanish translation El reto de Hilbert Critica, 2004.
Janos Bolyai, non-Euclidean Geometry and the Nature of Space. Burndy Library, MIT, 2004.[10]
Worlds out of Nothing; A Course on the History of Geometry in the 19th Century. Springer 2006, 2nd revised edition 2010.
Plato’s Ghost: The Modernist Transformation of Mathematics. Princeton University Press 2008.[11][12]ISBN9780691136103
The History of Mathematics; a Reader (with John Fauvel). Macmillan 1987.
L'Europe mathématique, Mathematical Europe (with C. Goldstein and J. Ritter). Edited with an introductory essay, Éditions de la maison des sciences de l'homme, Paris 1996.
Henri Poincaré: Three Supplementary Essays on the Discovery of Fuchsian Functions (with Scott Walter) Edited with an introductory essay, Akademie Verlag and Blanchard 1997.
Jacques Hadamard: Non-Euclidean Geometry in the Theory of Automorphic Functions (with Abe Shenitzer), translated Abe Shenitzer with an introductory essay by J.J. Gray, American and London Mathematical Societies Series in the History of Mathematics, HMath17, 1999.
Gauss − Titan of Science. A re-edition of G. Waldo Dunnington's book of 1956, with a new introduction and appendices by J.J. Gray, Mathematical Association of America, 2003.
The Architecture of Modern Mathematics. Edited volume, with an essay by J.J. Gray and one with the co-editor, José Ferreirós, Oxford University Press 2006.
Episodes in the History of Modern Algebra 1800—1950. Edited volume, with an introduction by J.J. Gray and the co-editor, Karen Parshall, American and London Mathematical Societies Series in the History of Mathematics, HMath32, 2007.