 Kirkby was a justice of the peace for Lancashire from 1663 until his death and custos rotulorum for the same county, also until death.He was elected Member of Parliament for Lancaster in 1661 for the Cavalier Parliament and retained the seat until his death in 1681.Kirkby married three times.