Martyn was born in London, the son of a merchant. He attended a school in the vicinity of his home, and when he turned 16, worked for his father, intending to follow a business career. He married Marie Anne Fonnereau, daughter of Claude Fonnereau, a Huguenot refugee who had settled in England and became a successful merchant. He abandoned this idea in favour of medical and botanical studies. His interest in botany came from his acquaintance with an apothecary, John Wilmer, and Dr. Patrick Blair, a surgeon-apothecary from Dundee who practiced in London. Martyn gave some botanical lectures in London in 1721 and 1726, and in 1727 was elected a Fellow of the Royal Society of London. Martyn was one of the founders and the secretary of a botanical society which met for a few years in the Rainbow coffee-house, Watling Street. In 1732 he was appointed Professor of Botany at Cambridge University, but, finding little encouragement and hampered by a lack of equipment, he soon ceased lecturing. He retained his professorship, however, till 1768, when he resigned in favour of his son Thomas. On resigning the botanical chair at Cambridge he presented the university with a number of his botanical specimens and books. John Martyn married Eulalia King, daughter of John King, rector of Pertenhall in Bedfordshire and Chelsea in London. Their son, Thomas Martyn was also an eminent botanist, author of Flora rustica. After the death of his first wife, John Martyn married Mary Anne Fonnereau, daughter of Claude Fonnereau, merchant of London and Christchurch Mansion, Ipswich, and the brother of Thomas Fonnereau. Although he had not taken a medical degree, he long practised as a physician at Chelsea, which is where he died in 1768. His son Thomas wrote a memoir of his father in 1770. An expanded version of this memoir was prepared and published by George Gorham in 1830.
Work
He is best known for his Historia Plantarum Rariorum, and his translation, with valuable agricultural and botanical notes, of the Eclogues and Georgics of Virgil. Editions continued to be issued after his death. With Ephraim Chambers, author of the famous Cyclopaedia, or an Universal Dictionary of Arts and Sciences, he abridged and translated the Philosophical History and Memoirs of the Royal Academy of Sciences at Paris, which was published in 1742. He also started the Grub Street Journal, a weekly satirical review, which lasted from 1730 to 1737.