Rainsford was the second son of Robert Raynsford of Staverton, Northamptonshire and his first wife Mary Kirton, daughter of Thomas Kirton of Thorpe Mandeville Northamptonshire.
Rainsford was elected Member of Parliament for Northampton in April 1660 for the Convention Parliament.