In 1830, Melvill married Margaret Alice Jennings. They had nine children: • Clara Melvill (1831–1900), married Stewart St. John Gordon • Lt.-Gen. Henry Melvill (1832–1908), Bengal Cavalry • Sir
Maxwell Melvill (1833–1887), Judge of the High Court, Bombay • Richard Gwatkin Melvill (1835–1920), Bengal Civil Service, married in 1858 (later divorced)
Gertrude Margaret Van Cortlandt (Henry Charles Van Cortlandt, natural son of Henry Clinton Van Cortlandt and grandson of
Philip Van Cortlandt), with whom he had six children; married secondly in 1885 to Emily Matthias • Francis Dawes Melvill (1836–1881), Bombay Civil Service; married Mary Louisa "Minnie" Hayes, daughter of Judge
Edmund Bradshaw Hayes • Margaret Stone Melvill (1837–1893), married Thomas Borron Myers • Elizabeth Cooke Melvill (1839–1929), married Clement Walsh Bagshawe • Isabella Melvill (1843–1920), married Douglas Close Richmond • Edith Melvill (1845–1865), married 6 October 1864 to Clement Alexander Middleton of the Bombay Civil Service. She died of dysentry at Hydrabad on 3 September 1865. He died at the residentiary house, Amen Corner, London, 9 February 1871, and was buried in St. Paul's Cathedral on 15 February. Margaret Alice Melvill died at Knowle in Devon on 18 April 1878, aged 73. ==Selected works==