After the war was over Cairnes was elected in 1692 to represent the borough in the Irish House of Commons, sitting until 1699. He was appointed Recorder of Londonderry in 1707, succeeding Robert Rochfort.